1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/boot/Makefile
Ruslan Ermilov 7e39a38ec9 Untangle building of AMD64 boot code.
Tested on:	amd64 (sledge)
2004-02-07 08:10:07 +00:00

28 lines
570 B
Makefile

# $FreeBSD$
.if !defined(NOFORTH)
# Build the add-in FORTH interpreter.
SUBDIR+= ficl
.endif
# Build OpenFirmware 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/}
# Build ARC / AlphaBIOS executable on the Alpha
# (this is a WIP (work in progress)).
#.if ${MACHINE_ARCH} == "alpha"
#SUBDIR+= arc
#.endif
# Build EFI executable on ia64.
.if ${MACHINE_ARCH} == "ia64"
SUBDIR+= efi
.endif
.include <bsd.subdir.mk>