summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Babic <[email protected]>2018-09-18 16:53:34 +0200
committerStefano Babic <[email protected]>2018-09-18 16:53:55 +0200
commit0eee446ee811ea3ebbade82cb1d19558736e5603 (patch)
treeec086d3b613610ff7c2b13cc092b38bc36d45c1f /Makefile
parentd27748b7cb3b7f447ef7d7d7c6cfe91852cd14e6 (diff)
parentb57f1895b669e3fbdca486e7c40dfea00f22bb93 (diff)
Merge branch 'master' of git://git.denx.de/u-boot into master
Signed-off-by: Stefano Babic <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1891c3a4ac1..e38966edbaa 100644
--- a/Makefile
+++ b/Makefile
@@ -985,6 +985,11 @@ spl/u-boot-spl.srec: spl/u-boot-spl FORCE
OBJCOPYFLAGS_u-boot-nodtb.bin := -O binary \
$(if $(CONFIG_X86_16BIT_INIT),-R .start16 -R .resetvec)
+OBJCOPYFLAGS_u-boot-spl.hex = $(OBJCOPYFLAGS_u-boot.hex)
+
+spl/u-boot-spl.hex: spl/u-boot-spl FORCE
+ $(call if_changed,objcopy)
+
binary_size_check: u-boot-nodtb.bin FORCE
@file_size=$(shell wc -c u-boot-nodtb.bin | awk '{print $$1}') ; \
map_size=$(shell cat u-boot.map | \