summaryrefslogtreecommitdiffstats
path: root/etc/devd
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-10-16 00:33:06 +0000
committerimp <imp@FreeBSD.org>2014-10-16 00:33:06 +0000
commite33f69c523dbf8bb545d868cb119ab2a65e8b03c (patch)
tree2324b6dcdd8c364e7b4c4bffafc4c0745503271f /etc/devd
parentcb2fc8295e15df335d3d79d32ffc24298c7a2244 (diff)
downloadFreeBSD-src-e33f69c523dbf8bb545d868cb119ab2a65e8b03c.zip
FreeBSD-src-e33f69c523dbf8bb545d868cb119ab2a65e8b03c.tar.gz
HYPERV isn't available on all architectures, but just on by default
for i386/amd64. Rather, it only works on i386/amd64 and should only be built there. Rather than change the default based on which architecutre, do things more directly by only building it on i386/amd64 and having it always on. This is how we handle other options that are relevant only for a few architectures.
Diffstat (limited to 'etc/devd')
-rw-r--r--etc/devd/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/devd/Makefile b/etc/devd/Makefile
index 6d1031e..27dfb92 100644
--- a/etc/devd/Makefile
+++ b/etc/devd/Makefile
@@ -8,6 +8,9 @@ FILES+= apple.conf
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
FILES+= asus.conf
+.if ${MK_HYPERV} != "no"
+FILES+= hyperv.conf
+.endif
.endif
.if ${MK_USB} != "no"
@@ -18,10 +21,6 @@ FILES+= uath.conf ulpt.conf usb.conf
FILES+= zfs.conf
.endif
-.if ${MK_HYPERV} != "no"
-FILES+= hyperv.conf
-.endif
-
NO_OBJ=
FILESDIR= /etc/devd
FILESMODE= 644
OpenPOWER on IntegriCloud