openwrt/package/boot
Andre Heider da3700988d
treewide: add support for "gc-sections" in PKG_BUILD_FLAGS
This reduces open coding and allows to easily add a knob to
enable it treewide, where chosen packages can still opt-out via
"no-gc-sections".

Note: libnl, mbedtls and opkg only used the CFLAGS part without the
LDFLAGS counterpart. That doesn't help at all if the goal is to produce
smaller binaries. I consider that an accident, and this fixes it.

Note: there are also packages using only the LDFLAGS part. I didn't
touch those, as gc might have been disabled via CFLAGS intentionally.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-03-21 18:28:22 +01:00
..
arm-trusted-firmware-bcm63xx
arm-trusted-firmware-mediatek
arm-trusted-firmware-mvebu arm-trusted-firmware-mvebu: Use host flags for cryptest compilation 2022-12-31 19:55:42 +01:00
arm-trusted-firmware-rockchip
arm-trusted-firmware-sunxi arm-trusted-firmware-sunxi: Use common trusted-firmware-a.mk 2022-12-31 19:03:00 +01:00
arm-trusted-firmware-tools arm-trusted-firmware-tools: update to v2.7 2022-09-07 04:22:40 +01:00
at91bootstrap
fconfig
grub2 grub2: re-add test module 2023-02-26 22:22:48 +01:00
imx-bootlets
kexec-tools treewide: add support for "gc-sections" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
kobs-ng
mt7623n-preloader
tfa-layerscape tfa-layerscape: Use trusted-firmware-a.mk 2022-12-31 20:02:09 +01:00
uboot-at91
uboot-bcm4908 uboot-bcm4908: update to the latest generic 2022-12-08 12:10:21 +01:00
uboot-envtools ipq807x: add support for Netgear WAX218 2023-03-20 11:40:36 -05:00
uboot-fritz4040 uboot-fritz4040: build FritzBox 7520 variant 2022-10-20 17:42:06 +02:00
uboot-imx
uboot-kirkwood uboot-kirkwood: build with kirkwood generic subtarget 2022-12-25 11:55:52 +01:00
uboot-lantiq
uboot-layerscape layerscape: Switch LS1012A-FRDM initramfs to gzip 2022-11-27 13:18:29 +01:00
uboot-mediatek uboot-mediatek: mark all packages as hidden 2023-03-04 16:27:25 +01:00
uboot-mvebu uboot-mvebu: update to version 2023.01 2023-01-17 23:17:33 +01:00
uboot-mxs uboot-mxs: build with mxs generic subtarget 2022-12-25 11:55:52 +01:00
uboot-omap uboot-omap: build with omap generic subtarget 2022-12-25 11:55:54 +01:00
uboot-oxnas
uboot-rockchip
uboot-sunxi arm-trusted-firmware-sunxi: Use common trusted-firmware-a.mk 2022-12-31 19:03:00 +01:00
uboot-tegra uboot-tegra: build with tegra generic subtarget 2022-12-25 11:55:53 +01:00
uboot-zynq uboot-zynq: build with zynq generic subtarget 2022-12-25 11:55:53 +01:00