diff options
author | imp <imp@FreeBSD.org> | 2014-10-16 00:33:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-10-16 00:33:06 +0000 |
commit | e33f69c523dbf8bb545d868cb119ab2a65e8b03c (patch) | |
tree | 2324b6dcdd8c364e7b4c4bffafc4c0745503271f /libexec | |
parent | cb2fc8295e15df335d3d79d32ffc24298c7a2244 (diff) | |
download | FreeBSD-src-e33f69c523dbf8bb545d868cb119ab2a65e8b03c.zip FreeBSD-src-e33f69c523dbf8bb545d868cb119ab2a65e8b03c.tar.gz |
HYPERV isn't available on all architectures, but just on by default
for i386/amd64. Rather, it only works on i386/amd64 and should only be
built there. Rather than change the default based on which
architecutre, do things more directly by only building it on
i386/amd64 and having it always on. This is how we handle other
options that are relevant only for a few architectures.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/Makefile | 7 | ||||
-rw-r--r-- | libexec/Makefile.amd64 | 5 | ||||
-rw-r--r-- | libexec/Makefile.i386 | 5 |
3 files changed, 12 insertions, 5 deletions
diff --git a/libexec/Makefile b/libexec/Makefile index 74cc6d8..7d1c1f8 100644 --- a/libexec/Makefile +++ b/libexec/Makefile @@ -13,7 +13,6 @@ SUBDIR= ${_atf} \ fingerd \ ftpd \ getty \ - ${_hyperv} \ ${_mail.local} \ ${_mknetid} \ ${_pppoed} \ @@ -55,10 +54,6 @@ _dma= dma _dma-mbox-create= dma-mbox-create .endif -.if ${MK_HYPERV} != "no" -_hyperv= hyperv -.endif - .if ${MK_NIS} != "no" _mknetid= mknetid _ypxfr= ypxfr @@ -95,4 +90,6 @@ _atf= atf _tests= tests .endif +.include <bsd.arch.inc.mk> + .include <bsd.subdir.mk> diff --git a/libexec/Makefile.amd64 b/libexec/Makefile.amd64 new file mode 100644 index 0000000..1092a29 --- /dev/null +++ b/libexec/Makefile.amd64 @@ -0,0 +1,5 @@ +# $FreeBSD$ + +.if ${MK_HYPERV} != "no" +SUBDIR+= hyperv +.endif diff --git a/libexec/Makefile.i386 b/libexec/Makefile.i386 new file mode 100644 index 0000000..1092a29 --- /dev/null +++ b/libexec/Makefile.i386 @@ -0,0 +1,5 @@ +# $FreeBSD$ + +.if ${MK_HYPERV} != "no" +SUBDIR+= hyperv +.endif |