1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/boot/Makefile
Benno Rice 5b98b64392 OpenFirmware/PowerPC loader, part 2.
This brings the loader up to the point where I can compile it under
NetBSD/macppc and have it boot, interact and talk to NFS servers.

sys/boot/ofw/libofw/main.c has been deleted (it has no revision history) and
replaced with sys/boot/ofw/common/main.c

Reviewed by:	obrien
2000-11-10 06:29:42 +00:00

25 lines
550 B
Makefile

# $FreeBSD$
# Build the add-in FORTH interpreter
SUBDIR+= ficl
# Build OpenFirmware library on PowerPC
.if ${MACHINE_ARCH} == "powerpc"
SUBDIR+= ofw
.endif
# Pick the machine-dependant subdir based on the target architecture.
# XXX pc98 is basicly a special i386 with MACHINE_ARCH=i386 and MACHINE=pc98.
.if ${MACHINE_ARCH} == "i386" && ${MACHINE} == "pc98"
SUBDIR+= ${MACHINE}
.else
SUBDIR+= ${MACHINE_ARCH}
.endif
# Build ARC / AlphaBIOS executable on the Alpha
.if ${MACHINE_ARCH} == "alpha"
SUBDIR+= arc
.endif
.include <bsd.subdir.mk>