freebsd-skq/sys/boot/Makefile
kmacy e9d6f8c905 add sun4v support to the sparc64 boot loader
Approved by: rwatson (mentor)
Reviewed by: jmg
Tested by: kris, dwhite, and jmg
2006-10-09 04:43:07 +00:00

24 lines
460 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} == "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>