From c39dfcbabc0e7f913a0ccdf458af46e47cf8d1a2 Mon Sep 17 00:00:00 2001 From: Sinan Kaya Date: Mon, 16 Nov 2020 00:40:33 +0000 Subject: poky-tiny: enable section removal Use GCC sections flags so that unused sections can be garbage collected at link time. (From meta-yocto rev: 70176ee6235c2545e18df855cac2c3524b7e50e4) Signed-off-by: Sinan Kaya Signed-off-by: Richard Purdie --- meta-poky/conf/distro/poky-tiny.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-poky/conf/distro/poky-tiny.conf') diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf index 9a043b1ef5..e125b23d46 100644 --- a/meta-poky/conf/distro/poky-tiny.conf +++ b/meta-poky/conf/distro/poky-tiny.conf @@ -29,6 +29,8 @@ # [ ] Modify busybox to allow for DISTRO_FEATURES-like confiruration require conf/distro/poky.conf +require conf/distro/include/gcsections.inc + DISTRO = "poky-tiny" DISTROOVERRIDES = "poky:poky-tiny" TCLIBC = "musl" -- cgit v1.2.3-54-g00ecf