path: root/stand/efi/Makefile
diff options
authorWarner Losh <imp@FreeBSD.org>2018-08-14 18:44:41 +0000
committerWarner Losh <imp@FreeBSD.org>2018-08-14 18:44:41 +0000
commit9d45c24cc4078e0c2962ba28e5a726709fef2269 (patch)
treee459b76fd0c9a0d3e749cf8a3ef6ce4dfc6ce408 /stand/efi/Makefile
parent4c5d19fda423193c9fd51548dcb45a2dccaa34da (diff)
Create a loader for each interpreter for x86 BIOS and all EFI
Create loader_{4th,lua,simp}{,.efi}. All of these are installed by default. Create LOADER_DEFAULT_INTERP to specify the default interpreter when no other is specified. LOADER_INTERP is the current interpreter language building. Turn building of lua on by default to match 4th. simploader is a simplified loader build w/o any interpreter language (but with a simple loader). This is the historic behavir you got with WITHOUT_FORTH. Make a hard link to the default loader. This has to be a hard link rather than the more desirable soft link because older zfsboot blocks don't support symlinks. RelNotes: Yes Differential Revision: https://reviews.freebsd.org/D16705
Notes: svn path=/head/; revision=337806
Diffstat (limited to 'stand/efi/Makefile')
1 files changed, 4 insertions, 1 deletions
diff --git a/stand/efi/Makefile b/stand/efi/Makefile
index 4f8dc6549662..0772609a7255 100644
--- a/stand/efi/Makefile
+++ b/stand/efi/Makefile
@@ -9,7 +9,10 @@ NO_OBJ=t
.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500
SUBDIR.${MK_FDT}+= fdt
-SUBDIR.yes+= libefi loader boot1
+SUBDIR.yes+= libefi boot1
+SUBDIR.${MK_FORTH}+= loader_4th
+SUBDIR.${MK_LOADER_LUA}+= loader_lua
+SUBDIR.yes+= loader_simp
.endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500