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 d0846ec238d06d1870eb8b8d50c323378c66fe93..8d869e952b44ed51474d8f9f2e7ef13b7d69bfe0 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