mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-25 01:03:22 +07:00

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>
5 lines
90 B
Plaintext
5 lines
90 B
Plaintext
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
|
CONFIG_KERNEL_XZ=y
|
|
CONFIG_OPTIMIZE_INLINING=y
|
|
CONFIG_SLOB=y
|