Commit 0c544115379ed77c1843a194e26960e5b8f3d369
Committed by
Tom Rini
1 parent
e5e701c2b8
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
kbuild: fix # escaping in appending U-Boot own DT
The escape sequence '\#' does not work for the latest GNU Make from the git tree. Replace it with $(pound) as Linux did. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
scripts/Makefile.lib
... | ... | @@ -299,7 +299,7 @@ |
299 | 299 | # Modified for U-Boot |
300 | 300 | # Bring in any U-Boot-specific include at the end of the file |
301 | 301 | cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ |
302 | - (cat $<; $(if $(u_boot_dtsi),echo '\#include "$(u_boot_dtsi)"')) > $(pre-tmp); \ | |
302 | + (cat $<; $(if $(u_boot_dtsi),echo '$(pound)include "$(u_boot_dtsi)"')) > $(pre-tmp); \ | |
303 | 303 | $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $(pre-tmp) ; \ |
304 | 304 | $(DTC) -O dtb -o $@ -b 0 \ |
305 | 305 | -i $(dir $<) $(DTC_FLAGS) \ |