Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/x_ifconfig Add small.



details:   https://anonhg.NetBSD.org/src/rev/4664cb7a1a13
branches:  trunk
changeset: 337805:4664cb7a1a13
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 28 15:14:07 2015 +0000

description:
Add small.

diffstat:

 distrib/utils/x_ifconfig/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r d667ad555b74 -r 4664cb7a1a13 distrib/utils/x_ifconfig/Makefile
--- a/distrib/utils/x_ifconfig/Makefile Tue Apr 28 15:13:45 2015 +0000
+++ b/distrib/utils/x_ifconfig/Makefile Tue Apr 28 15:14:07 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2010/12/14 17:07:08 hannken Exp $
+# $NetBSD: Makefile,v 1.33 2015/04/28 15:14:07 christos Exp $
 # Build a smaller ifconfig (i.e. for boot media)
 
 .include <bsd.own.mk>
@@ -14,6 +14,10 @@
 SRCS+= af_inet6.c
 .endif
 
+.ifdef SMALLPROG
+CPPFLAGS+=-DSMALL
+.endif
+
 PROG=  ifconfig
 .include "${.CURDIR}/../../../sbin/ifconfig/Makefile.inc"
 



Home | Main Index | Thread Index | Old Index