b000ad447c
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
20 lines
441 B
Makefile
20 lines
441 B
Makefile
# $FreeBSD$
|
|
|
|
NO_OBJ=t
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
# In-tree GCC does not support __attribute__((ms_abi)), but gcc newer
|
|
# than 4.5 supports it.
|
|
.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40500
|
|
|
|
SUBDIR.${MK_FDT}+= fdt
|
|
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
|
|
|
|
.include <bsd.subdir.mk>
|