diff mbox series

[7/7] ARM: configs: stm32: Disable CONFIG_GCC_PLUGINS in STM32 defconfig

Message ID 20241219172934.3010875-8-patrice.chotard@foss.st.com (mailing list archive)
State New
Headers show
Series ARM: config: stm32: Disable useless flags | expand

Commit Message

Patrice CHOTARD Dec. 19, 2024, 5:29 p.m. UTC
From: Patrice Chotard <patrice.chotard@foss.st.com>

Disable CONFIG_GCC_PLUGINS in stm32_defconfig.
It will reduce the kernel image size for these platform which
embeds a low amount of memory.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/configs/stm32_defconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index dbe36a59a796..77048b5e1ec4 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -24,6 +24,7 @@  CONFIG_DRAM_BASE=0x90000000
 CONFIG_XIP_KERNEL=y
 CONFIG_XIP_PHYS_ADDR=0x08008000
 # CONFIG_SUSPEND is not set
+# CONFIG_GCC_PLUGINS is not set
 CONFIG_BINFMT_FLAT=y
 # CONFIG_COREDUMP is not set
 # CONFIG_VM_EVENT_COUNTERS is not set