Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2010 21:19:20 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213462 - in head: share/mk usr.sbin
Message-ID:  <201010052119.o95LJKBQ072070@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010052119.o95LJKBQ072070>