summaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'images/Makefile')
-rw-r--r--images/Makefile3
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)