c6aac5b5ce
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>
|