1
0
Fork 0

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 <grzegorz.jaszczyk@linaro.org>
zero-colors
Grzegorz Jaszczyk 2021-05-17 17:30:27 +02:00 committed by Grzegorz-J
parent afcaa79871
commit af7daf7543
1 changed files with 1 additions and 0 deletions

View File

@ -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