summaryrefslogtreecommitdiffstats
path: root/share/examples/Makefile
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-26 06:44:48 +0000
committerngie <ngie@FreeBSD.org>2015-01-26 06:44:48 +0000
commit691728766995189ba0ea8b9795f271eb5008ac8e (patch)
treedabcdafc594d6b1c9c606ebb82c9afe0fd211c01 /share/examples/Makefile
parent87621b19597ca44bd742e885dda35c26848bbe6d (diff)
downloadFreeBSD-src-691728766995189ba0ea8b9795f271eb5008ac8e.zip
FreeBSD-src-691728766995189ba0ea8b9795f271eb5008ac8e.tar.gz
Add MK_BHYVE knob for building and installing bhyve(4), et al
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/examples/Makefile')
-rw-r--r--share/examples/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 0765a43..7e0576c 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