openwrt/target/linux/ar71xx/image
Jonas Gorski eeeee885fb ar71xx: fix lzma-loader build with glibc
For an unknown reason gcc tries to link in crti.o when building with a
glibc toolchain (this does not happen with other targets). Prevent this
by telling gcc explicitly to not do that.

Fixes the following build error:

/home/jonas/git/lede/staging_dir/toolchain-mips_24kc_gcc-5.5.0_glibc/lib/gcc/mips-openwrt-linux-gnu/5.5.0/../../../../mips-openwrt-linux-gnu/lib/crti.o: In function `_init':
(.init+0x18): relocation truncated to fit: R_MIPS_GOT16 against `__gmon_start__'
/home/jonas/git/lede/staging_dir/toolchain-mips_24kc_gcc-5.5.0_glibc/lib/gcc/mips-openwrt-linux-gnu/5.5.0/../../../../mips-openwrt-linux-gnu/lib/crti.o: In function `_init':
(.init+0x28): relocation truncated to fit: R_MIPS_CALL16 against `__gmon_start__'
collect2: error: ld returned 1 exit status

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2017-12-13 11:34:51 +01:00
..
lzma-loader ar71xx: fix lzma-loader build with glibc 2017-12-13 11:34:51 +01:00
generic.mk treewide: add only one device when appending to TARGET_DEVICES 2017-12-12 18:47:26 +01:00
legacy-devices.mk ar71xx: ew-dorin target moved from legacy to generic 2017-10-07 09:20:04 +02:00
legacy.mk merge: targets: update image generation and targets 2017-12-08 19:41:18 +01:00
Makefile ar71xx: image: use simply expanded variables 2017-06-11 21:32:17 +02:00
mikrotik.mk treewide: add only one device when appending to TARGET_DEVICES 2017-12-12 18:47:26 +01:00
nand.mk ar71xx: add support for Nokia WI2A-AC200i 2017-10-19 12:27:42 +02:00
senao.mk ar71xx: fix EnGenius ENS202EXT mtd definition 2017-06-29 10:37:36 +02:00
tp-link.mk treewide: add only one device when appending to TARGET_DEVICES 2017-12-12 18:47:26 +01:00
ubinize-nbg6716.ini ar71xx: nbg6716: Enable procd nand sysupgrage 2014-06-26 11:43:38 +00:00
ubinize-wndr4300.ini ar71xx: remove old jffs2 marker from image generation on nand targets 2014-06-24 18:14:18 +00:00
ubnt.mk treewide: add only one device when appending to TARGET_DEVICES 2017-12-12 18:47:26 +01:00