summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/lib
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2010-05-25 15:21:39 +0000
committerraj <raj@FreeBSD.org>2010-05-25 15:21:39 +0000
commit4dbde3c9b95a26e2577ac32058a85c7277d419f2 (patch)
tree083efe2b44c3dccb2f0a01c264ccfd3af3ca0af5 /sys/boot/uboot/lib
parent08c219d72b905839e115a4a5bbea2f884fbfa970 (diff)
downloadFreeBSD-src-4dbde3c9b95a26e2577ac32058a85c7277d419f2.zip
FreeBSD-src-4dbde3c9b95a26e2577ac32058a85c7277d419f2.tar.gz
Initial loader(8) support for Flattened Device Tree.
o This is disabled by default for now, and can be enabled using WITH_FDT at build time. o Tested with ARM and PowerPC. Reviewed by: imp Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/boot/uboot/lib')
-rw-r--r--sys/boot/uboot/lib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/uboot/lib/Makefile b/sys/boot/uboot/lib/Makefile
index 894784f..11088f1 100644
--- a/sys/boot/uboot/lib/Makefile
+++ b/sys/boot/uboot/lib/Makefile
@@ -10,6 +10,10 @@ SRCS= devicename.c elf_freebsd.c console.c copy.c disk.c \
CFLAGS+= -ffreestanding -msoft-float
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
+
+# Pick up FDT includes
+CFLAGS+= -I${.CURDIR}/../../../../sys/contrib/libfdt/
+
# Pick up the bootstrap header for some interface items
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
OpenPOWER on IntegriCloud