diff options
author | delphij <delphij@FreeBSD.org> | 2014-09-13 02:15:31 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-09-13 02:15:31 +0000 |
commit | edc7ea3a5d36632b4b34de01da7109a81c9b39cf (patch) | |
tree | 90bd58d5fdad38f917effa8d5ce8a33002b06656 /libexec | |
parent | 9bf7e49bfc27b3ec422834dbed634445004aa420 (diff) | |
download | FreeBSD-src-edc7ea3a5d36632b4b34de01da7109a81c9b39cf.zip FreeBSD-src-edc7ea3a5d36632b4b34de01da7109a81c9b39cf.tar.gz |
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.
This is a stable/10 candidate for inclusion with 10.1-RELEASE.
Submitted by: Wei Hu <weh microsoft com>
MFC after: 1 week
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/Makefile | 5 | ||||
-rw-r--r-- | libexec/hyperv/Makefile | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/libexec/Makefile b/libexec/Makefile index 8a32694..74cc6d8 100644 --- a/libexec/Makefile +++ b/libexec/Makefile @@ -13,6 +13,7 @@ SUBDIR= ${_atf} \ fingerd \ ftpd \ getty \ + ${_hyperv} \ ${_mail.local} \ ${_mknetid} \ ${_pppoed} \ @@ -54,6 +55,10 @@ _dma= dma _dma-mbox-create= dma-mbox-create .endif +.if ${MK_HYPERV} != "no" +_hyperv= hyperv +.endif + .if ${MK_NIS} != "no" _mknetid= mknetid _ypxfr= ypxfr diff --git a/libexec/hyperv/Makefile b/libexec/hyperv/Makefile new file mode 100644 index 0000000..37abdf5 --- /dev/null +++ b/libexec/hyperv/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../contrib/hyperv/tools/scripts + +BINDIR= /usr/libexec/hyperv + +SCRIPTS= hv_set_ifconfig hv_get_dns_info hv_get_dhcp_info +NO_OBJ= + +.include <bsd.prog.mk> |