diff options
author | Andrey Panov <rockford@yandex.ru> | 2017-05-11 20:54:15 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-05-24 09:16:11 +0200 |
commit | 74d8a35d4461daa2374f420aef63748f51f1f3aa (patch) | |
tree | 672c8a75aa2b6d326c20887acf7c6a087a5b3755 /Makefile | |
parent | 40e38042b7fa370a8221251b8efe21e2274c10cb (diff) | |
download | barebox-74d8a35d4461daa2374f420aef63748f51f1f3aa.tar.gz barebox-74d8a35d4461daa2374f420aef63748f51f1f3aa.tar.xz |
Fix linking with new ld, based on u-boot
U-boot commit info:
http://git.denx.de/?p=u-boot.git;a=commit;h=e391b1e64b0bd65709a28a4764afe4f32d408243
Signed-off-by: Andrey Panov <rockford@yandex.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -306,6 +306,9 @@ AFLAGS := -D__ASSEMBLY__ LDFLAGS_barebox := -Map barebox.map +# Avoid 'Not enough room for program headers' error on binutils 2.28 onwards. +LDFLAGS_barebox += $(call ld-option, --no-dynamic-linker) + # Read KERNELRELEASE from include/config/kernel.release (if it exists) KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null) KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) |