summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-02-11 07:21:16 +0000
committerngie <ngie@FreeBSD.org>2015-02-11 07:21:16 +0000
commita01a4bc555315e8086d5487b5269753486cd0432 (patch)
tree4c5084ce8a3659c4a653ec683838e91344216394 /share/examples
parente146e39f9f07de6c687d47fbc4a72d61eca828e8 (diff)
downloadFreeBSD-src-a01a4bc555315e8086d5487b5269753486cd0432.zip
FreeBSD-src-a01a4bc555315e8086d5487b5269753486cd0432.tar.gz
MFC r277727:
r277727: Add MK_BHYVE knob for building and installing bhyve(4), et al Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index a674f72..32d71a1 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -7,7 +7,6 @@
LDIRS= BSD_daemon \
FreeBSD_version \
IPv6 \
- bhyve \
bootforth \
csh \
diskless \
@@ -41,7 +40,6 @@ XFILES= BSD_daemon/FreeBSD.pfa \
FreeBSD_version/Makefile \
FreeBSD_version/README \
IPv6/USAGE \
- bhyve/vmrun.sh \
bootforth/README \
bootforth/boot.4th \
bootforth/frames.4th \
@@ -205,6 +203,13 @@ XFILES+= hast/ucarp.sh \
hast/vip-up.sh
.endif
+.if ${MACHINE_CPUARCH} == "amd64"
+.if ${MK_BHYVE} != "no"
+LDIRS+= bhyve
+XFILES+= bhyve/vmrun.sh
+.endif
+.endif
+
# Define SHARED to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies''); (latter useful
# in environments where it's not possible to keep /sys publicly readable)
OpenPOWER on IntegriCloud