0463b4a2fb
1. Make libefi portable by removing ia64 specific code and build it on i386 and amd64 by default to prevent regressions. These changes include fixes and improvements over previous code to establish or improve APIs where none existed or when the amount of kluging was unacceptably high. 2. Increase the amount of sharing between the efi and ski loaders to improve maintainability of the loaders and simplify making changes to the loader-kernel handshaking in the future. The version of the efi and ski loaders are now both changed to 1.2 as user visible improvements and changes have been made.
24 lines
519 B
Makefile
24 lines
519 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if ${MK_FORTH} != "no"
|
|
# Build the add-in FORTH interpreter.
|
|
SUBDIR+= ficl
|
|
.endif
|
|
|
|
# Build EFI library.
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "ia64"
|
|
SUBDIR+= efi
|
|
.endif
|
|
|
|
# Build Open Firmware library.
|
|
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
|
|
SUBDIR+= ofw
|
|
.endif
|
|
|
|
# Pick the machine-dependent subdir based on the target architecture.
|
|
SUBDIR+= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/}
|
|
|
|
.include <bsd.subdir.mk>
|