lkml.org 
[lkml]   [2005]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] fix the EMBEDDED menu
Hi Linus,

your patch to allow CC_OPTIMIZE_FOR_SIZE even for EMBEDDED=n has broken
the EMBEDDED menu.

This patch fixes this by moving CC_OPTIMIZE_FOR_SIZE above the EMBEDDED
menu.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

init/Kconfig | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

--- linux-git/init/Kconfig.old 2005-12-14 19:58:05.000000000 +0100
+++ linux-git/init/Kconfig 2005-12-14 19:58:38.000000000 +0100
@@ -256,6 +256,18 @@

source "usr/Kconfig"

+config CC_OPTIMIZE_FOR_SIZE
+ bool "Optimize for size"
+ default y if ARM || H8300
+ help
+ Enabling this option will pass "-Os" instead of "-O2" to gcc
+ resulting in a smaller kernel.
+
+ WARNING: some versions of gcc may generate incorrect code with this
+ option. If problems are observed, a gcc upgrade may be needed.
+
+ If unsure, say N.
+
menuconfig EMBEDDED
bool "Configure standard kernel features (for small systems)"
help
@@ -338,18 +350,6 @@
Disabling this option will cause the kernel to be built without
support for epoll family of system calls.

-config CC_OPTIMIZE_FOR_SIZE
- bool "Optimize for size"
- default y if ARM || H8300
- help
- Enabling this option will pass "-Os" instead of "-O2" to gcc
- resulting in a smaller kernel.
-
- WARNING: some versions of gcc may generate incorrect code with this
- option. If problems are observed, a gcc upgrade may be needed.
-
- If unsure, say N.
-
config SHMEM
bool "Use full shmem filesystem" if EMBEDDED
default y
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-14 20:12    [W:0.465 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site