# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: architecture/x86-64/kernel.conf.sh
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
#
|
|
# 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 ---
|
|
|
|
{
|
|
cat <<- 'EOT'
|
|
define(`INTEL', `Intel X86 PCs')dnl
|
|
|
|
dnl CPU configuration
|
|
dnl
|
|
EOT
|
|
|
|
linux_arch=MK8
|
|
for x in "generic GENERIC_CPU" \
|
|
"em64t MPSC"
|
|
do
|
|
set $x
|
|
[ "$1" = "$SDECFG_X8664_OPT" ] && linux_arch=$2
|
|
done
|
|
|
|
for x in GENERIC_CPU MK8 MPSC
|
|
do
|
|
if [ "$linux_arch" != "$x" ]
|
|
then echo "# CONFIG_$x is not set"
|
|
else echo "CONFIG_$x=y" ; fi
|
|
done
|
|
|
|
echo
|
|
cat <<- 'EOT'
|
|
CONFIG_ACPI=y
|
|
CONFIG_IA32_EMULATION=y
|
|
|
|
dnl Memory Type Range Register support
|
|
dnl and other x86 goodies ...
|
|
dnl
|
|
CONFIG_MTRR=y
|
|
CONFIG_X86_MCE=y
|
|
CONFIG_X86_MCE_NONFATAL=y
|
|
CONFIG_X86_MCE_P4THERMAL=y
|
|
|
|
dnl PC Speaker for 2.5/6 kernel
|
|
CONFIG_INPUT_PCSPKR=y
|
|
|
|
dnl Other useful stuff
|
|
dnl
|
|
CONFIG_RTC=y
|
|
|
|
include(`kernel-common.conf.m4')
|
|
include(`kernel-block.conf.m4')
|
|
include(`kernel-net.conf.m4')
|
|
include(`kernel-fs.conf.m4')
|
|
|
|
CONFIG_FB_VESA=y
|
|
EOT
|
|
} | m4 -I $base/architecture/$arch -I $base/architecture/share
|
|
|