aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/uboot/Makefile
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2014-11-01 17:12:44 +0000
committerAndrew Turner <andrew@FreeBSD.org>2014-11-01 17:12:44 +0000
commit8c81befd0b2543264b96487de510c0d96454f6d8 (patch)
treeb2eda9c3d489687e9caaec4068e0ceef99190fc0 /sys/boot/uboot/Makefile
parentb6fbc510be763a67f4be2046c9c3ff5366f76abc (diff)
downloadsrc-8c81befd0b2543264b96487de510c0d96454f6d8.tar.gz
src-8c81befd0b2543264b96487de510c0d96454f6d8.zip
Start to allow platforms other than U-Boot to use the FDT code in loader by
moving U-Boot specific code from libfdt.a to a new libuboot_fdt.a. This needs to be a new library for linking to work correctly. Differential Revision: https://reviews.freebsd.org/D1054 Reviewed by: ian, rpaulo (earlier version) MFC after: 1 week
Notes
Notes: svn path=/head/; revision=273934
Diffstat (limited to 'sys/boot/uboot/Makefile')
-rw-r--r--sys/boot/uboot/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/boot/uboot/Makefile b/sys/boot/uboot/Makefile
index 1116ee6b6cdb..43b57480fe4c 100644
--- a/sys/boot/uboot/Makefile
+++ b/sys/boot/uboot/Makefile
@@ -1,5 +1,11 @@
# $FreeBSD$
+.include <src.opts.mk>
+
SUBDIR= lib
+.if ${MK_FDT} != "no"
+SUBDIR+=fdt
+.endif
+
.include <bsd.subdir.mk>