mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-24 19:21:38 +01:00
5b98b64392
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
25 lines
550 B
Makefile
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>
|