Skip to content

Commit

Permalink
Fix invalid DTS includes
Browse files Browse the repository at this point in the history
Fixes the following build errors:

> Error: arch/arm/dts/.rk3036-sdk.dtb.pre.tmp:77.1-10 syntax error
> Error: arch/arm/dts/.rk3188-radxarock.dtb.pre.tmp:383.1-10 syntax error

The generated DTS had `\#include` instead of `#include`

Signed-off-by: Gleb Mazovetskiy <[email protected]>
  • Loading branch information
glebm committed Nov 22, 2020
1 parent 533d602 commit 852d52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ HOSTCFLAGS_sha1.o := -pedantic
HOSTCFLAGS_sha256.o := -pedantic

quiet_cmd_wrap = WRAP $@
cmd_wrap = echo "\#include <../$(patsubst $(obj)/%,%,$@)>" >$@
cmd_wrap = echo \#"include <../$(patsubst $(obj)/%,%,$@)>" >$@

$(obj)/lib/%.c $(obj)/common/%.c $(obj)/env/%.c:
$(call cmd,wrap)
Expand Down

0 comments on commit 852d52b

Please sign in to comment.