summaryrefslogtreecommitdiff
path: root/stand/fdt.mk
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-11-14 23:02:19 +0000
committerWarner Losh <imp@FreeBSD.org>2017-11-14 23:02:19 +0000
commitca987d4641cdcd7f27e153db17c5bf064934faf5 (patch)
tree6c3860e3ba8949be9528d644fbb7fa88d8bbbb79 /stand/fdt.mk
parent6eac7115560381ce5c9e2939ab3fce82bb9b6a95 (diff)
downloadsrc-test-ca987d4641cdcd7f27e153db17c5bf064934faf5.tar.gz
src-test-ca987d4641cdcd7f27e153db17c5bf064934faf5.zip
Move sys/boot to stand. Fix all references to new location
Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=325834
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 0000000000000..4d4794d980f26
--- /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