diff options
author | delphij <delphij@FreeBSD.org> | 2014-09-30 17:54:57 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-09-30 17:54:57 +0000 |
commit | ee5d2040514496e028c74f870e0fe37ff731eea6 (patch) | |
tree | 3d5fc0f492a59bc673ae0bd7830fcb5f3be62b51 /tools/build | |
parent | d2b170eeddec67d497373ad60908e5094d294fe1 (diff) | |
download | FreeBSD-src-ee5d2040514496e028c74f870e0fe37ff731eea6.zip FreeBSD-src-ee5d2040514496e028c74f870e0fe37ff731eea6.tar.gz |
MFC r271493,271688-271689,271696,271854,272139-272143:
Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.
While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.
The HyperV utilities are only built for i386 and amd64 targets.
Approved by: re (gjb)
Diffstat (limited to 'tools/build')
-rw-r--r-- | tools/build/mk/OptionalObsoleteFiles.inc | 8 | ||||
-rw-r--r-- | tools/build/options/WITHOUT_HYPERV | 2 | ||||
-rw-r--r-- | tools/build/options/WITH_HYPERV | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 62542b7..cfa369b 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -4670,3 +4670,11 @@ OLD_FILES+=usr/bin/svnserve OLD_FILES+=usr/bin/svnsync OLD_FILES+=usr/bin/svnversion .endif + +.if ${MK_HYPERV} == no +OLD_FILES+=etc/devd/hyperv.conf +OLD_FILES+=usr/libexec/hyperv/hv_set_ifconfig +OLD_FILES+=usr/libexec/hyperv/hv_get_dns_info +OLD_FILES+=usr/libexec/hyperv/hv_get_dhcp_info +OLD_FILES+=usr/sbin/hv_kvpd +.endif diff --git a/tools/build/options/WITHOUT_HYPERV b/tools/build/options/WITHOUT_HYPERV new file mode 100644 index 0000000..ef63f70 --- /dev/null +++ b/tools/build/options/WITHOUT_HYPERV @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to not build or install HyperV utilities. diff --git a/tools/build/options/WITH_HYPERV b/tools/build/options/WITH_HYPERV new file mode 100644 index 0000000..a6bdf72 --- /dev/null +++ b/tools/build/options/WITH_HYPERV @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to build and install HyperV utilities. |