|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../linux26/config-700.in
|
|
|
|
# Copyright (C) 2006 - 2007 The OpenSDE Project
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
menu_begin MENU_PKG_LINUX 'Linux Kernel Options'
|
|
|
|
|
|
|
|
if [ "$SDECFG_PKG_LINUX_CONFIG_STYLE" = none ] ; then
|
|
|
|
SDECFGSET_PKG_LINUX_CUSTCONFIG=1
|
|
|
|
fi
|
|
|
|
|
|
|
|
bool 'Apply custom kernel build configuration settings' \
|
|
|
|
SDECFG_PKG_LINUX_CUSTCONFIG 0
|
|
|
|
|
|
|
|
if [ "$SDECFG_PKG_LINUX_CUSTCONFIG" = 1 ] ; then
|
|
|
|
block_begin 3
|
|
|
|
comment 'The kernel config is stored in:'
|
|
|
|
comment "config/$config/linux.cfg"
|
|
|
|
editfile SDECFG_PKG_LINUX_CUSTCONFIG_FILE \
|
|
|
|
$cfgtmpdir/config/linux.cfg \
|
|
|
|
'Linux kernel build config settings'
|
|
|
|
block_end
|
|
|
|
else
|
|
|
|
rm -f $cfgtmpdir/config/linux.cfg
|
|
|
|
fi
|
|
|
|
|
|
|
|
choice SDECFG_PKG_LINUX_CONFIG_STYLE modules \
|
|
|
|
none 'Do not perform any automatic kernel configuration' \
|
|
|
|
nomodules 'Perform normal kernel configuration without modules' \
|
|
|
|
modules 'Perform normal kernel configuration including modules'
|
|
|
|
|
|
|
|
if pkgcheck uml_utilities X ; then
|
|
|
|
choice SDECFG_PKG_LINUX_UML_STYLE modules \
|
|
|
|
none 'Do not perform any automatic UML related optimization' \
|
|
|
|
skas3 'Build UML Host kernel with SKAS3 support' \
|
|
|
|
guest 'Build UML Guest kernel (Not implemented yet!)'
|
|
|
|
fi
|
|
|
|
menu_end
|
|
|
|
|