Author: gonzo
Date: Tue Oct  5 21:19:20 2010
New Revision: 213462
URL: http://svn.freebsd.org/changeset/base/213462

Log:
  - Introduce WITH_GPIO knob and disable building gpioctl
      by default. Most systems do not need it.

Modified:
  head/share/mk/bsd.own.mk
  head/usr.sbin/Makefile

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk    Tue Oct  5 20:56:08 2010        (r213461)
+++ head/share/mk/bsd.own.mk    Tue Oct  5 21:19:20 2010        (r213462)
@@ -422,6 +422,7 @@ MK_${var}:= yes
     BSD_GREP \
     ${_clang_no} \
     FDT \
+    GPIO \
     HESIOD \
     IDEA
 .if defined(WITH_${var}) && defined(WITHOUT_${var})

Modified: head/usr.sbin/Makefile
==============================================================================
--- head/usr.sbin/Makefile      Tue Oct  5 20:56:08 2010        (r213461)
+++ head/usr.sbin/Makefile      Tue Oct  5 21:19:20 2010        (r213462)
@@ -27,7 +27,6 @@ SUBDIR= adduser \
        fwcontrol \
        getfmac \
        getpmac \
-       gpioctl \
        gstat \
        i2c \
        ifmcstat \
@@ -160,6 +159,10 @@ SUBDIR+=   freebsd-update
 SUBDIR+=       gssd
 .endif
 
+.if ${MK_GPIO} != "no"
+SUBDIR+=       gpioctl
+.endif
+
 .if ${MK_INET6} != "no"
 SUBDIR+=       faithd
 SUBDIR+=       ip6addrctl
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to