From e33f69c523dbf8bb545d868cb119ab2a65e8b03c Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 16 Oct 2014 00:33:06 +0000 Subject: 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. --- libexec/Makefile | 7 ++----- libexec/Makefile.amd64 | 5 +++++ libexec/Makefile.i386 | 5 +++++ 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 libexec/Makefile.amd64 create mode 100644 libexec/Makefile.i386 (limited to 'libexec') 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 + .include 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 -- cgit v1.1