summaryrefslogtreecommitdiffstats
path: root/sys/boot/Makefile
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-02-17 20:34:35 +0000
committermarcel <marcel@FreeBSD.org>2008-02-17 20:34:35 +0000
commit670a5fae66ae5be7c682f35d563284efed2d3c95 (patch)
tree5cf938bf7ecddeb039f0640bbfcd1a9a7de22343 /sys/boot/Makefile
parentec7591cdfba87075a87c7feffd8dfa71dbfbca60 (diff)
downloadFreeBSD-src-670a5fae66ae5be7c682f35d563284efed2d3c95.zip
FreeBSD-src-670a5fae66ae5be7c682f35d563284efed2d3c95.tar.gz
Hook the U-Boot library up to the build.
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 8d8ffed..75663df 100644
--- a/sys/boot/Makefile
+++ b/sys/boot/Makefile
@@ -17,6 +17,11 @@ SUBDIR+= efi
SUBDIR+= ofw
.endif
+# Build U-Boot library.
+.if ${MACHINE_ARCH} == "powerpc"
+SUBDIR+= uboot
+.endif
+
# Pick the machine-dependent subdir based on the target architecture.
SUBDIR+= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/}
OpenPOWER on IntegriCloud