defconfig: Enable optimize for size
The default y for this option was removed between .38 and 3.0, so
to maintain the old defconfigs, explicitly enable this config.
On an 8960 build this saves a good amount of space:
$ size kobj/vmlinux.orig kobj/vmlinux.new
text data bss dec hex filename
9818636 711896 1841880 12372412 bcc9bc kobj/vmlinux.orig
8765356 711320 1841784 11318460 acb4bc kobj/vmlinux.new
Change-Id: I53b04768834fad33dc6625ec79f3de61fac96516
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/configs/msm8960_defconfig b/arch/arm/configs/msm8960_defconfig
index bf15477..73d0756 100755
--- a/arch/arm/configs/msm8960_defconfig
+++ b/arch/arm/configs/msm8960_defconfig
@@ -19,6 +19,7 @@
CONFIG_BLK_DEV_INITRD=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_PANIC_TIMEOUT=5
CONFIG_KALLSYMS_ALL=y
CONFIG_ASHMEM=y