summaryrefslogtreecommitdiffstats
path: root/stand/fdt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'stand/fdt.mk')
-rw-r--r--stand/fdt.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/stand/fdt.mk b/stand/fdt.mk
new file mode 100644
index 0000000..4d4794d
--- /dev/null
+++ b/stand/fdt.mk
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.if ${MK_FDT} == "yes"
+CFLAGS+= -I${FDTSRC}
+CFLAGS+= -I${BOOTOBJ}/fdt
+CFLAGS+= -I${SYSDIR}/contrib/libfdt
+CFLAGS+= -DLOADER_FDT_SUPPORT
+LIBFDT= ${BOOTOBJ}/fdt/libfdt.a
+.endif
OpenPOWER on IntegriCloud