summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@blueri.se>2019-01-15 16:34:19 +0100
committerTom Rini <trini@konsulko.com>2019-01-18 09:16:15 -0500
commit5d94158aa9af94542a2bb35f6aaa8a2d786fc6c2 (patch)
treeea4185abf501a59ad86a59a60dc834a9583846a0 /Makefile
parent6e7051144f60018df12fda9f4dcb7eee8d6f62ac (diff)
downloadu-boot-5d94158aa9af94542a2bb35f6aaa8a2d786fc6c2.tar.gz
u-boot-5d94158aa9af94542a2bb35f6aaa8a2d786fc6c2.tar.bz2
u-boot-5d94158aa9af94542a2bb35f6aaa8a2d786fc6c2.zip
mkimage: fixup CONFIG_FIT_EXTERNAL_OFFSET
The last parameter is expected to be the imagefile. Since -E is a flag having the output name before -p will make mkimage ignore the external offset option. Signed-off-by: Patrick Wildt <patrick@blueri.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3be9fc5c34..cf7b2b10bc 100644
--- a/Makefile
+++ b/Makefile
@@ -893,7 +893,7 @@ cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
>$(MKIMAGEOUTPUT) $(if $(KBUILD_VERBOSE:0=), && cat $(MKIMAGEOUTPUT))
quiet_cmd_mkfitimage = MKIMAGE $@
-cmd_mkfitimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -f $(U_BOOT_ITS) -E $@ -p $(CONFIG_FIT_EXTERNAL_OFFSET)\
+cmd_mkfitimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -f $(U_BOOT_ITS) -E -p $(CONFIG_FIT_EXTERNAL_OFFSET) $@\
>$(MKIMAGEOUTPUT) $(if $(KBUILD_VERBOSE:0=), && cat $(MKIMAGEOUTPUT))
quiet_cmd_cat = CAT $@