kernel-hacking-2024-linux-s.../scripts/kconfig
Josh Triplett 0da1d4a0b9 x86: Add "make tinyconfig" to configure the tiniest possible kernel
Since commit 5d2acfc7b9 ("kconfig: make
allnoconfig disable options behind EMBEDDED and EXPERT") in 3.15-rc1,
"make allnoconfig" disables every possible config option.

However, a few configuration options (CC_OPTIMIZE_FOR_SIZE,
OPTIMIZE_INLINING) produce a smaller kernel when turned on, and a few
choices exist (compression, highmem, allocator) for which a non-default
option produces a smaller kernel.

Add a "tinyconfig" option, which starts from allnoconfig and then sets
these options to configure the tiniest possible kernel.  This provides a
better baseline for embedded systems or efforts to reduce kernel size.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
2014-08-08 16:30:24 -07:00
..
lxdialog kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
.gitignore
check.sh kbuild: trivial - remove trailing empty lines 2014-06-10 00:04:06 +02:00
conf.c kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
confdata.c kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT 2014-04-07 16:36:09 -07:00
expr.c
expr.h kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT 2014-04-07 16:36:09 -07:00
gconf.c kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
gconf.glade
images.c
kxgettext.c
list.h
lkc.h kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT 2014-04-07 16:36:09 -07:00
lkc_proto.h
Makefile x86: Add "make tinyconfig" to configure the tiniest possible kernel 2014-08-08 16:30:24 -07:00
mconf.c kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
menu.c kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
merge_config.sh
nconf.c kbuild: trivial - remove trailing empty lines 2014-06-10 00:04:06 +02:00
nconf.gui.c
nconf.h
POTFILES.in
qconf.cc xconfig: Fix the filename for GUI settings 2013-10-08 23:52:16 +02:00
qconf.h xconfig: Fix the filename for GUI settings 2013-10-08 23:52:16 +02:00
streamline_config.pl kbuild: trivial - remove trailing spaces 2014-04-30 17:34:32 +02:00
symbol.c kconfig: fix trivial typos and update mconf documentation 2013-10-08 23:52:14 +02:00
util.c kbuild: trivial - remove trailing empty lines 2014-06-10 00:04:06 +02:00
zconf.gperf kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT 2014-04-07 16:36:09 -07:00
zconf.hash.c_shipped kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT 2014-04-07 16:36:09 -07:00
zconf.l kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
zconf.lex.c_shipped kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
zconf.tab.c_shipped kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00
zconf.y kbuild: trivial - use tabs for code indent where possible 2014-06-10 14:00:53 +02:00