summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2000-11-10 06:29:42 +0000
committerbenno <benno@FreeBSD.org>2000-11-10 06:29:42 +0000
commitc6aac5b5ce5c58903fb45cfce6c75d79b6894514 (patch)
treef5f544bf6214939555794795909407c894b5e682 /sys
parent1b55b7a246b986b676f7eaf764196aaf43d34b81 (diff)
downloadFreeBSD-src-c6aac5b5ce5c58903fb45cfce6c75d79b6894514.zip
FreeBSD-src-c6aac5b5ce5c58903fb45cfce6c75d79b6894514.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/Makefile b/sys/boot/Makefile
index f0cf5ff..4711995 100644
--- a/sys/boot/Makefile
+++ b/sys/boot/Makefile
@@ -3,6 +3,11 @@
# 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"
OpenPOWER on IntegriCloud