summaryrefslogtreecommitdiff
path: root/stand/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-02-27 17:35:29 +0000
committerWarner Losh <imp@FreeBSD.org>2018-02-27 17:35:29 +0000
commit9e74797f30ffa3e29d54438933f74ad53ad37f99 (patch)
treeaebfc4291a772fde44b7732a2b46714525c1e28d /stand/Makefile
parent6ef82c0ae222fa999597ccdc781fb954d1a534ab (diff)
downloadsrc-test-9e74797f30ffa3e29d54438933f74ad53ad37f99.tar.gz
src-test-9e74797f30ffa3e29d54438933f74ad53ad37f99.zip
Move EFI up to common makefile. There's no need for all these .if's
based on architecture. Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=330077
Diffstat (limited to 'stand/Makefile')
-rw-r--r--stand/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/stand/Makefile b/stand/Makefile
index 242eb4c5297bc..a22d771acb683 100644
--- a/stand/Makefile
+++ b/stand/Makefile
@@ -18,6 +18,10 @@ SUBDIR+= man
.include <bsd.arch.inc.mk>
+.if ${MK_EFI} != "no" && ${MK_LOADER_EFI} != "no"
+SUBDIR+= efi
+.endif
+
.if exists(${.CURDIR}/${MACHINE}/.)
SUBDIR+= ${MACHINE}
.endif