summaryrefslogtreecommitdiff
path: root/spl/Makefile
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-01-13 13:57:05 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-01-14 10:43:10 (GMT)
commitb02bfc4dfcef3be8276521e1933573e97a5cf203 (patch)
tree57080489f5d3b07f177b51c9a790235de5a7826e /spl/Makefile
parente570aca9474bb707cd2cab0c5c9b8aba957ae51e (diff)
downloadu-boot-fsl-qoriq-b02bfc4dfcef3be8276521e1933573e97a5cf203.tar.xz
arm: put .hash, .got.plt and .machine_param back in binaries
Some targets will build fine but not boot if sections .hash and .got.plt are not present in the binary. Add them back. Also, Exynos machines require .machine_param section in SPL. Add it. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by: Rajeshwari S Shinde <rajeshwari.s@samsung.com>
Diffstat (limited to 'spl/Makefile')
-rw-r--r--spl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 003956e..5e5472d 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -165,7 +165,7 @@ $(obj)$(BOARD)-spl.bin: $(obj)u-boot-spl.bin
endif
$(obj)$(SPL_BIN).bin: $(obj)$(SPL_BIN)
- $(OBJCOPY) $(OBJCFLAGS) -O binary $< $@
+ $(OBJCOPY) $(OBJCFLAGS) $(SPL_OBJCFLAGS) -O binary $< $@
GEN_UBOOT = \
cd $(obj) && $(LD) $(LDFLAGS) $(LDFLAGS_$(@F)) $(__START) \