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
This commit is contained in:
Benno Rice 2000-11-10 06:29:42 +00:00
parent a2a9c8c79e
commit 5b98b64392
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68546

View File

@ -3,6 +3,11 @@
# Build the add-in FORTH interpreter # Build the add-in FORTH interpreter
SUBDIR+= ficl SUBDIR+= ficl
# Build OpenFirmware library on PowerPC
.if ${MACHINE_ARCH} == "powerpc"
SUBDIR+= ofw
.endif
# Pick the machine-dependant subdir based on the target architecture. # Pick the machine-dependant subdir based on the target architecture.
# XXX pc98 is basicly a special i386 with MACHINE_ARCH=i386 and MACHINE=pc98. # XXX pc98 is basicly a special i386 with MACHINE_ARCH=i386 and MACHINE=pc98.
.if ${MACHINE_ARCH} == "i386" && ${MACHINE} == "pc98" .if ${MACHINE_ARCH} == "i386" && ${MACHINE} == "pc98"