summaryrefslogtreecommitdiffstats
path: root/usr.sbin/Makefile
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2010-10-05 21:19:20 +0000
committergonzo <gonzo@FreeBSD.org>2010-10-05 21:19:20 +0000
commit4d0a93a2e155867fabab418b727d02a0b5e53867 (patch)
tree19de694f7fbb6c8d2141deb5345fe8b8278f9763 /usr.sbin/Makefile
parentb942a323706046076fe8c04fdc4db45c0c9d4a4c (diff)
downloadFreeBSD-src-4d0a93a2e155867fabab418b727d02a0b5e53867.zip
FreeBSD-src-4d0a93a2e155867fabab418b727d02a0b5e53867.tar.gz
- Introduce WITH_GPIO knob and disable building gpioctl
by default. Most systems do not need it.
Diffstat (limited to 'usr.sbin/Makefile')
-rw-r--r--usr.sbin/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 0669b09..a3863d0 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -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
OpenPOWER on IntegriCloud