mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 15:22:43 +00: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>
|