1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/config-700.in
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 menu_begin MENU_PKG_LINUX 'Linux Kernel Options'
15 if [ "$SDECFG_PKG_LINUX_CONFIG_STYLE" = none ]; then
16 SDECFGSET_PKG_LINUX_CUSTCONFIG=1
19 bool 'Apply custom kernel build configuration settings' \
20 SDECFG_PKG_LINUX_CUSTCONFIG 0
22 if [ "$SDECFG_PKG_LINUX_CUSTCONFIG" = 1 ]; then
24 comment 'The kernel config is stored in:'
25 comment "config/$config/linux.cfg"
26 editfile SDECFG_PKG_LINUX_CUSTCONFIG_FILE \
27 config/$config/linux.cfg \
28 'Linux kernel build config settings'
32 choice SDECFG_PKG_LINUX_CONFIG_STYLE modules \
33 none 'Do not perform any automatic kernel configuration' \
34 nomodules 'Perform normal kernel configuration without modules' \
35 modules 'Perform normal kernel configuration including modules'
37 bool "Copy the kernel source to /usr/src" \
38 SDECFG_PKG_LINUX_KEEP_SRC 0
40 bool 'Default to 2.6 module utils (module-init-tools)' \
41 SDECFG_PKG_LINUX_USE26MODTOOLS 1
42 [ $SDECFG_PKG_LINUX_USE26MODTOOLS = 0 ] && pkgdisable module-init-tools
44 if pkgcheck uml_utilities X; then
45 choice SDECFG_PKG_LINUX_UML_STYLE modules \
46 none 'Do not perform any automatic UML related optimization' \
47 skas3 'Build UML Host kernel with SKAS3 support' \
48 guest 'Build UML Guest kernel (Not implemented yet!)'