From: Masahiro Yamada Date: Wed, 19 Sep 2018 02:35:57 +0000 (+0900) Subject: kbuild: fix # escaping in appending U-Boot own DT X-Git-Tag: v2018.11-rc1~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c544115379ed77c1843a194e26960e5b8f3d369;p=platform%2Fkernel%2Fu-boot.git 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 --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index f8c3fff..4dceb6d 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -299,7 +299,7 @@ quiet_cmd_dtc = DTC $@ # Modified for U-Boot # Bring in any U-Boot-specific include at the end of the file cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ - (cat $<; $(if $(u_boot_dtsi),echo '\#include "$(u_boot_dtsi)"')) > $(pre-tmp); \ + (cat $<; $(if $(u_boot_dtsi),echo '$(pound)include "$(u_boot_dtsi)"')) > $(pre-tmp); \ $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $(pre-tmp) ; \ $(DTC) -O dtb -o $@ -b 0 \ -i $(dir $<) $(DTC_FLAGS) \