aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorYan <892930505@qq.com>2020-11-01 08:14:48 +0800
committerGitHub <noreply@github.com>2020-10-31 17:14:48 -0700
commita4d4298ca10527a51fad86c53a93c48e6f510092 (patch)
tree7f2c843dd521181cbf3ae8ffa5ba660997c0b3f3 /Makefile.in
parentdef2f01eee49aa639c6e393d161687998cd64c4e (diff)
downloadriscv-pk-a4d4298ca10527a51fad86c53a93c48e6f510092.zip
riscv-pk-a4d4298ca10527a51fad86c53a93c48e6f510092.tar.gz
riscv-pk-a4d4298ca10527a51fad86c53a93c48e6f510092.tar.bz2
Disable device tree filter when load a dts from file (#219)
* add device tree in elf, using --with-dts to add the absolute path of device tree * Disable device tree filter * Remove *.dtb dependence, when the --with-dts option is not used
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..05e3a4d 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 (@CUSTOM_DTS@,no)
+CFLAGS := $(CFLAGS) -DCUSTOM_DTS=\"custom_dts\"
+endif
+CUSTOM_DTS := @CUSTOM_DTS@
COMPILE := $(CC) -MMD -MP $(CFLAGS) \
$(sprojs_include)
# Linker