diff options
author | ngie <ngie@FreeBSD.org> | 2015-02-11 07:21:16 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-02-11 07:21:16 +0000 |
commit | a01a4bc555315e8086d5487b5269753486cd0432 (patch) | |
tree | 4c5084ce8a3659c4a653ec683838e91344216394 /share | |
parent | e146e39f9f07de6c687d47fbc4a72d61eca828e8 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | share/examples/Makefile | 9 | ||||
-rw-r--r-- | share/man/man4/Makefile | 5 | ||||
-rw-r--r-- | share/mk/bsd.own.mk | 1 |
3 files changed, 12 insertions, 3 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) diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 651172b..8a7165b 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -836,7 +836,6 @@ MLINKS+=lindev.4 full.4 .endif .if ${MACHINE_CPUARCH} == "amd64" -_bhyve.4= bhyve.4 _if_ntb.4= if_ntb.4 _ntb.4= ntb.4 _ntb_hw.4= ntb_hw.4 @@ -849,6 +848,10 @@ MLINKS+=qlxge.4 if_qlxge.4 MLINKS+=qlxgb.4 if_qlxgb.4 MLINKS+=qlxgbe.4 if_qlxgbe.4 MLINKS+=sfxge.4 if_sfxge.4 + +.if ${MK_BHYVE} != "no" +_bhyve.4= bhyve.4 +.endif .endif .if ${MACHINE_CPUARCH} == "mips" diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index c2265e6..2a6e584 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -254,6 +254,7 @@ __DEFAULT_YES_OPTIONS = \ ATM \ AUDIT \ AUTHPF \ + BHYVE \ BINUTILS \ BLUETOOTH \ BMAKE \ |