summaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-11-25 20:16:01 -0700
committerSimon Glass <sjg@chromium.org>2016-12-20 08:09:55 +1300
commit61b994a386eb6f631dc1c2194d4cce9b1a43542c (patch)
tree02a90587f2f5133b869837b5ec1ef0767fe4004c /scripts/Makefile.lib
parent48549cdf0bd04321a60c51ce2e258e4dbd53ae91 (diff)
sunxi: Use binman for sunxi boards
Move sunxi boards to use binman. This involves adding the image definition to the device tree and using it in the Makefile. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 60265f4d32..348de2dbf8 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -310,8 +310,8 @@ quiet_cmd_dtc = DTC $@
# Modified for U-Boot
# Bring in any U-Boot-specific include after the '/dts-v1/;' header
cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
- cat $< $(if $(u-boot-dtsi),\
- | sed 's%^/ {$$%\#include \"$(u-boot-dtsi)\"\n&%') | \
+ cat $< $(if $(u_boot_dtsi),\
+ | sed 's%^/ {$$%\#include \"$(u_boot_dtsi)\"\n&%') | \
$(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \
$(DTC) -O dtb -o $@ -b 0 \
-i $(dir $<) $(DTC_FLAGS) \