diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-13 20:16:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-13 20:25:14 +0100 |
commit | 7eb1636c7067a15446f2313d3bf5092fcca94908 (patch) | |
tree | a14f32f9578a9abfe2cda4ffb1c4d2056bbc2219 /images/Makefile | |
parent | e83de66f3f85f5a53474e85f01ce066ec7f31f5a (diff) | |
download | barebox-7eb1636c7067a15446f2313d3bf5092fcca94908.tar.gz barebox-7eb1636c7067a15446f2313d3bf5092fcca94908.tar.xz |
Revert "images: Drop unnecessary fix_size"
This reverts commit 5c0e16591d9471a345b77a41fde76de34f301f6b.
The fix_size scripts is not necessary for newer ARM toolchains,
it is however necessary for the older ARM toolchains (gcc-5 and older).
The original reason to drop fix_size was that it doesn't work on MIPS.
With this patch we add the -i flag so that we ignore unknown images
and can succesfully build MIPS images.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images/Makefile')
-rw-r--r-- | images/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/images/Makefile b/images/Makefile index eeea172d63..4e82dc92ee 100644 --- a/images/Makefile +++ b/images/Makefile @@ -44,7 +44,8 @@ quiet_cmd_objcopy_bin = OBJCOPYB $@ cmd_objcopy_bin = \ - $(OBJCOPY) -O binary $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@ + $(OBJCOPY) -O binary $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@ && \ + $(objtree)/scripts/fix_size -i -f $@ pbl-lds := $(obj)/pbl.lds extra-y += $(pbl-lds) |