diff options
-rw-r--r-- | share/mk/bsd.own.mk | 1 | ||||
-rw-r--r-- | usr.sbin/Makefile | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 477a83a..076579a 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -422,6 +422,7 @@ MK_${var}:= yes BSD_GREP \ ${_clang_no} \ FDT \ + GPIO \ HESIOD \ IDEA .if defined(WITH_${var}) && defined(WITHOUT_${var}) 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 |