mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 14:25:56 +00:00
Makefile.lib: find capsule ESL dtsi file with CONFIG_OF_UPSTREAM
When CONFIG_OF_UPSTREAM is enabled, DTS files are in SOC subdirectories (vs the top level dts directory), but when CONFIG_EFI_CAPSULE_AUTHENTICATE is enabled, the dynamically created dtsi file containing the capsule ESL DT node is in the parent directory. This results in a build failure because the #include inserted in the DTS file is local to the current directory. Update Makefile to have the DT preprocessing of #includes search in the parent (dts top level) directory too. Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
This commit is contained in:
parent
a712a54dc4
commit
d31ff219a8
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
|
||||||
(cat $< > $(pre-tmp)); \
|
(cat $< > $(pre-tmp)); \
|
||||||
$(foreach f,$(subst $(quote),,$(dtsi_include_list)), \
|
$(foreach f,$(subst $(quote),,$(dtsi_include_list)), \
|
||||||
echo '$(pound)include "$(f)"' >> $(pre-tmp);) \
|
echo '$(pound)include "$(f)"' >> $(pre-tmp);) \
|
||||||
$(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $(pre-tmp) ; \
|
$(HOSTCC) -E $(dtc_cpp_flags) -I$(obj) -x assembler-with-cpp -o $(dtc-tmp) $(pre-tmp) ; \
|
||||||
$(DTC) -O dtb -o $@ -b 0 \
|
$(DTC) -O dtb -o $@ -b 0 \
|
||||||
-i $(dir $<) -i $(u_boot_dtsi_loc) $(DTC_FLAGS) \
|
-i $(dir $<) -i $(u_boot_dtsi_loc) $(DTC_FLAGS) \
|
||||||
-d $(depfile).dtc.tmp $(dtc-tmp) || \
|
-d $(depfile).dtc.tmp $(dtc-tmp) || \
|
||||||
|
|
Loading…
Add table
Reference in a new issue