aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorYan <892930505@qq.com>2020-10-30 05:27:39 +0800
committerGitHub <noreply@github.com>2020-10-29 14:27:39 -0700
commita161e6f3ef31004e47a5b94b85c2e84b764f8637 (patch)
tree1a28b326a3caffd63091e079e4f00f0680c2ce0e /Makefile.in
parentf7df78365f9aca4102a6d7136ea58b91f51c13cb (diff)
downloadriscv-pk-a161e6f3ef31004e47a5b94b85c2e84b764f8637.zip
riscv-pk-a161e6f3ef31004e47a5b94b85c2e84b764f8637.tar.gz
riscv-pk-a161e6f3ef31004e47a5b94b85c2e84b764f8637.tar.bz2
Disable device tree filter when load a dts from file (#217)
* add device tree in elf, using --with-dts to add the absolute path of device tree * Disable device tree filter
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 5c2687d..3e3872b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -116,6 +116,10 @@ ifneq (@BBL_PAYLOAD@,no)
CFLAGS := $(CFLAGS) -DBBL_PAYLOAD=\"bbl_payload\"
endif
BBL_PAYLOAD := @BBL_PAYLOAD@
+ifneq (@MACHINE_DTS@,no)
+CFLAGS := $(CFLAGS) -DMACHINE_DTS=\"machine_dts\"
+endif
+MACHINE_DTS := @MACHINE_DTS@
COMPILE := $(CC) -MMD -MP $(CFLAGS) \
$(sprojs_include)
# Linker