Page MenuHomeFreeBSD

D38306.diff
No OneTemporary

D38306.diff

diff --git a/lib/libc/x86/sys/Makefile.inc b/lib/libc/x86/sys/Makefile.inc
--- a/lib/libc/x86/sys/Makefile.inc
+++ b/lib/libc/x86/sys/Makefile.inc
@@ -10,6 +10,7 @@
MAN+= \
pkru.3
+# Note: vdso support for hyperv only on amd64
.if ${MACHINE_CPUARCH} == "amd64" && ${MK_HYPERV} != "no"
CFLAGS+= -DWANT_HYPERV
.endif
diff --git a/libexec/Makefile b/libexec/Makefile
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -10,6 +10,7 @@
${_dma} \
flua \
getty \
+ ${_hyperv} \
${_mail.local} \
${_makewhatis.local} \
${_mknetid} \
@@ -64,6 +65,10 @@
_dma= dma
.endif
+.if ${MK_HYPERV} != "no"
+_hyperv+= hyperv
+.endif
+
.if ${MK_NIS} != "no"
_mknetid= mknetid
_ypxfr= ypxfr
diff --git a/libexec/Makefile.amd64 b/libexec/Makefile.amd64
deleted file mode 100644
--- a/libexec/Makefile.amd64
+++ /dev/null
@@ -1,5 +0,0 @@
-# $FreeBSD$
-
-.if ${MK_HYPERV} != "no"
-SUBDIR+= hyperv
-.endif
diff --git a/libexec/Makefile.i386 b/libexec/Makefile.i386
deleted file mode 100644
--- a/libexec/Makefile.i386
+++ /dev/null
@@ -1,5 +0,0 @@
-# $FreeBSD$
-
-.if ${MK_HYPERV} != "no"
-SUBDIR+= hyperv
-.endif
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -140,6 +140,7 @@
SUBDIR.${MK_FREEBSD_UPDATE}+= freebsd-update
SUBDIR.${MK_GSSAPI}+= gssd
SUBDIR.${MK_GPIO}+= gpioctl
+SUBDIR.${MK_HYPERV}+= hyperv
SUBDIR.${MK_INET6}+= ip6addrctl
SUBDIR.${MK_INET6}+= mld6query
SUBDIR.${MK_INET6}+= ndp
diff --git a/usr.sbin/Makefile.amd64 b/usr.sbin/Makefile.amd64
--- a/usr.sbin/Makefile.amd64
+++ b/usr.sbin/Makefile.amd64
@@ -23,9 +23,6 @@
SUBDIR+= btxld
.endif
SUBDIR+= cpucontrol
-.if ${MK_HYPERV} != "no"
-SUBDIR+= hyperv
-.endif
SUBDIR+= lptcontrol
SUBDIR+= mptable
SUBDIR+= spkrtest
diff --git a/usr.sbin/Makefile.i386 b/usr.sbin/Makefile.i386
--- a/usr.sbin/Makefile.i386
+++ b/usr.sbin/Makefile.i386
@@ -12,9 +12,6 @@
SUBDIR+= btxld
.endif
SUBDIR+= cpucontrol
-.if ${MK_HYPERV} != "no"
-SUBDIR+= hyperv
-.endif
SUBDIR+= lptcontrol
SUBDIR+= mptable
SUBDIR+= pnpinfo

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 20, 12:22 PM (16 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31838924
Default Alt Text
D38306.diff (1 KB)

Event Timeline