powerpc: compile kernel for linkstations optimized for size
authorRogério Brito <rbrito@ime.usp.br>
Mon, 13 Oct 2008 04:07:03 +0000 (01:07 -0300)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 28 Oct 2008 14:46:43 +0000 (09:46 -0500)
Since Linkstations and Kuroboxes often have *very* little memory (as
they are embedded systems), it is desirable to get their kernels
compiled optimized for size.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/configs/linkstation_defconfig

index d0846ec..8d869e9 100644 (file)
@@ -90,7 +90,7 @@ CONFIG_NAMESPACES=y
 # CONFIG_PID_NS is not set
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_INITRAMFS_SOURCE=""
-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_SYSCTL=y
 # CONFIG_EMBEDDED is not set
 CONFIG_SYSCTL_SYSCALL=y