1 #configure the kernel using menu system
4 #you may turn off some features and options
6 #turn off "General setup" - "Embedded system" - no embedded
7 #turn off "General setup" - "Configure standard kernel features (expert users)" - no expert user setting
8 #turn off "Kernel hacking"/* - (turn off "Kernel hacking"/* ... "Memory Debugging"/KASan)
9 #turn off "Security options"/* -
11 #On x86_64 the following modifications should be done
12 #(serial driver - doesn't compile)
13 #set "Device Drivers" / "Character devices" / "Serial drivers" /
14 # / "8250/16550 and compatible serial support" - to "*" (compile into kernel image)
15 # CONFIG_SERIAL_8250=y
16 # ((CONFIG_SERIAL_8250_CONSOLE=y | # CONFIG_SERIAL_8250_FSL is not set | CONFIG_SERIAL_CORE=y))
18 #(not proper platform or architecture - will not run)
19 #set "Processor type and features" / "Enable 5-levels page tables support" - to "off"
20 #set "Processor type and features" / "Support for extended (non-PC) x86 platforms" - to "off"
21 # ((# CONFIG_X86_EXTENDED_PLATFORM is not set))
22 # turn some platform off
23 # "ScaleMP vSMP" ((# CONFIG_X86_VSMP is not set))
24 # "Goldfish (Virtual Platform)" ((# CONFIG_X86_GOLDFISH is not set))
25 # "Intel MID platform support" ((# CONFIG_X86_INTEL_MID is not set))
27 #may set "Processor type and features" / there are many settings
29 #(ugly test case files missing messages - unit tests)
30 #set "Device Drivers" / "Device Tree and Open Firmware support" / "Device Tree runtime unit tests" - to "off"
31 # ((CONFIG_OF=y | # CONFIG_OF_UNITTEST is not set))
33 #(for "desktop os" optimization)
34 #set "Processor type and features" / "Preemption model" - to "Low Latency Desktop"
36 #(config of number of cpus (max))
39 #(gcc can compile code with stack protection)
40 #may set "General setup" - "Stack protector ..." eg.: Strong