summaryrefslogtreecommitdiffstats
path: root/sys/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/Makefile')
-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