summaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-02-11 16:51:02 +0300
committerTom Rini <trini@konsulko.com>2019-02-19 16:55:43 +0300
commit1e7883f6325ae1cba2a92fcdf06d892f475fc5d2 (patch)
tree1bcd57f23b32bbf68bac7a0005065922741032d5 /scripts/Makefile.lib
parente48485f5e4f99811ba41e89f782a3f282f3c5a2e (diff)
downloadu-boot-1e7883f6325ae1cba2a92fcdf06d892f475fc5d2.tar.xz
dtbo: Fix dtbo generation rules
Take the first prerequisite (dts overlay file) instead of standard input. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 66e5015d8d..704d644f6f 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -317,7 +317,7 @@ quiet_cmd_dtco = DTCO $@
# No generation of assembly file either
# Modified for U-Boot
cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \
- $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \
+ $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
$(DTC) -@ -O dtb -o $@ -b 0 \
-i $(dir $<) $(DTC_FLAGS) \
-d $(depfile).dtc.tmp $(dtc-tmp) ; \