X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=Kconfig;h=cbb691e160868a16293229854cd13517c79bcde4;hb=7c604e98c2213619af6a8c3064418af9b689cf56;hp=ea2c836115277788decab3d81c821f9370898a1f;hpb=e91c3c332beeb271ab8ee39614a2f96df749cdc2;p=karo-tx-uboot.git diff --git a/Kconfig b/Kconfig index ea2c836115..cbb691e160 100644 --- a/Kconfig +++ b/Kconfig @@ -46,6 +46,16 @@ config LOCALVERSION_AUTO which is done within the script "scripts/setlocalversion".) +config CC_OPTIMIZE_FOR_SIZE + bool "Optimize for size" + depends on !SPL_BUILD + default y + help + Enabling this option will pass "-Os" instead of "-O2" to gcc + resulting in a smaller U-Boot image. + + This option is enabled by default for U-Boot. + endmenu # General setup menu "Boot images"