Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15146
b: refs/heads/master
c: c45b4f1
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Dec 15, 2005
1 parent d6a042d commit c3f968f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11c18b5cb31d15a782fb727adad51ae1434e5dee
refs/heads/master: c45b4f1f1e149c023762ac4be166ead1818cefef
26 changes: 14 additions & 12 deletions trunk/init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,20 @@ config CPUSETS

source "usr/Kconfig"

config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size (Look out for broken compilers!)"
default y
depends on ARM || H8300 || EXPERIMENTAL
depends on !SPARC64
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
Expand Down Expand Up @@ -338,18 +352,6 @@ config EPOLL
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
Expand Down

0 comments on commit c3f968f

Please sign in to comment.