X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Kconfig;h=e0c899210e1445258fad6269e7f7b88dbb138a16;hb=13bd4d877687c6b6f1031d21b4124de336b6abb2;hp=ea2c836115277788decab3d81c821f9370898a1f;hpb=e91c3c332beeb271ab8ee39614a2f96df749cdc2;p=platform%2Fkernel%2Fu-boot.git diff --git a/Kconfig b/Kconfig index ea2c836..e0c8992 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" @@ -81,7 +91,7 @@ config SYS_EXTRA_OPTIONS depends on !SPL_BUILD help The old configuration infrastructure (= mkconfig + boards.cfg) - provided the extra options field. It you have something like + provided the extra options field. If you have something like "HAS_BAR,BAZ=64", the optional options #define CONFIG_HAS #define CONFIG_BAZ 64 @@ -93,3 +103,15 @@ config SYS_EXTRA_OPTIONS endmenu # Boot images source "arch/Kconfig" + +source "common/Kconfig" + +source "dts/Kconfig" + +source "net/Kconfig" + +source "drivers/Kconfig" + +source "fs/Kconfig" + +source "lib/Kconfig"