From af7daf754375618fcf3cfe7ca26f5efedb098369 Mon Sep 17 00:00:00 2001 From: Grzegorz Jaszczyk Date: Mon, 17 May 2021 17:30:27 +0200 Subject: [PATCH] ARM: zero-gravitas_defconfig: trim unused exported kernel symbols Quoting CONFIG_TRIM_UNUSED_KSYMS Kconfig description: "This option allows for unused exported symbols to be dropped from the build. In turn, this provides the compiler more opportunities (especially when using LTO) for optimizing the code and reducing binary size. This might have some security advantages as well." Signed-off-by: Grzegorz Jaszczyk --- arch/arm/configs/zero-gravitas_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/zero-gravitas_defconfig b/arch/arm/configs/zero-gravitas_defconfig index f99fe50dbdfd..cfd147dc51c1 100644 --- a/arch/arm/configs/zero-gravitas_defconfig +++ b/arch/arm/configs/zero-gravitas_defconfig @@ -35,6 +35,7 @@ CONFIG_PM_ADVANCED_DEBUG=y CONFIG_PM_TEST_SUSPEND=y CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y CONFIG_MODULES=y +CONFIG_TRIM_UNUSED_KSYMS=y # CONFIG_BLK_DEV_BSG is not set CONFIG_BINFMT_MISC=y CONFIG_CMA=y