summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-01-23 03:12:25 +0000
committerjsg <jsg@openbsd.org>2017-01-23 03:12:25 +0000
commit43c363df3918aa044f607406a702acb1a1b07557 (patch)
treef88f06bde5dfa1b47bc924015c3ecabf51a3037f
parentAdd gpio(4) and switch(4) to cdevsw. (diff)
downloadwireguard-openbsd-43c363df3918aa044f607406a702acb1a1b07557.tar.xz
wireguard-openbsd-43c363df3918aa044f607406a702acb1a1b07557.zip
Build gpioctl(8) and hotplugd(8) on arm64.
ok patrick@
-rw-r--r--usr.sbin/gpioctl/Makefile7
-rw-r--r--usr.sbin/hotplugd/Makefile12
2 files changed, 10 insertions, 9 deletions
diff --git a/usr.sbin/gpioctl/Makefile b/usr.sbin/gpioctl/Makefile
index 4a18c4a57a4..c262224c4cb 100644
--- a/usr.sbin/gpioctl/Makefile
+++ b/usr.sbin/gpioctl/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.7 2013/10/27 03:06:25 aalm Exp $
+# $OpenBSD: Makefile,v 1.8 2017/01/23 03:12:25 jsg Exp $
-.if (${MACHINE} == "i386" || ${MACHINE} == "macppc" || \
- ${MACHINE} == "amd64" || ${MACHINE} == "armv7")
+.if ${MACHINE} == "amd64" || ${MACHINE} == "arm64" || \
+ ${MACHINE} == "armv7" || ${MACHINE} == "i386" || \
+ ${MACHINE} == "macppc"
PROG= gpioctl
SRCS= gpioctl.c
diff --git a/usr.sbin/hotplugd/Makefile b/usr.sbin/hotplugd/Makefile
index 33dac9a622c..b042c3cce49 100644
--- a/usr.sbin/hotplugd/Makefile
+++ b/usr.sbin/hotplugd/Makefile
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile,v 1.19 2016/09/03 13:37:46 guenther Exp $
+# $OpenBSD: Makefile,v 1.20 2017/01/23 03:12:25 jsg Exp $
.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
- ${MACHINE} == "armv7" || ${MACHINE} == "hppa" || \
- ${MACHINE} == "i386" || ${MACHINE} == "landisk" || \
- ${MACHINE} == "loongson" || ${MACHINE} == "macppc" || \
- ${MACHINE} == "sgi" || ${MACHINE} == "socppc" || \
- ${MACHINE} == "sparc64"
+ ${MACHINE} == "arm64" || ${MACHINE} == "armv7" || \
+ ${MACHINE} == "hppa" || ${MACHINE} == "i386" || \
+ ${MACHINE} == "landisk" || ${MACHINE} == "loongson" || \
+ ${MACHINE} == "macppc" || ${MACHINE} == "sgi" || \
+ ${MACHINE} == "socppc" || ${MACHINE} == "sparc64"
PROG= hotplugd
SRCS= hotplugd.c