diff options
author | Dalon Westergreen <dwesterg@gmail.com> | 2018-09-10 10:28:47 -0700 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-09-15 03:17:01 +0200 |
commit | 2ff60af605d64218374dbaf71cf47be865f84192 (patch) | |
tree | cf658413ecc51072ebe26d85bdc88a9ba1d49370 | |
parent | 9ea354444d156b1f7c1d1990a32215c257b38e16 (diff) | |
download | u-boot-2ff60af605d64218374dbaf71cf47be865f84192.tar.gz u-boot-2ff60af605d64218374dbaf71cf47be865f84192.tar.bz2 u-boot-2ff60af605d64218374dbaf71cf47be865f84192.zip |
common: add spl/u-boot-spl.hex target
Some devices, namely Intel's stratix10 SoC, require u-boot-spl in
a hex format. This patch adds spl/u-boot-spl.hex as a possible
target.
Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 | \ |