From 1e7883f6325ae1cba2a92fcdf06d892f475fc5d2 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 11 Feb 2019 14:51:02 +0100 Subject: [PATCH] dtbo: Fix dtbo generation rules Take the first prerequisite (dts overlay file) instead of standard input. Signed-off-by: Michal Simek --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ; \ -- 2.39.5