Removed trailing spaces from architecture/ ... without renewing the copyright note
[opensde-nopast.git] / architecture / x86-64 / kernel.conf.sh
blob3d316b43c434b1baf712c8ad95b3e0af8adb85c7
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: architecture/x86-64/kernel.conf.sh
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
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 as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- SDE-COPYRIGHT-NOTE-END ---
16 cat <<- 'EOT'
17 define(`INTEL', `Intel X86 PCs')dnl
19 dnl CPU configuration
20 dnl
21 EOT
23 linux_arch=MK8
24 for x in "generic GENERIC_CPU" \
25 "em64t MPSC"
27 set $x
28 [ "$1" = "$SDECFG_X8664_OPT" ] && linux_arch=$2
29 done
31 for x in GENERIC_CPU MK8 MPSC
33 if [ "$linux_arch" != "$x" ]
34 then echo "# CONFIG_$x is not set"
35 else echo "CONFIG_$x=y" ; fi
36 done
38 echo
39 cat <<- 'EOT'
40 CONFIG_ACPI=y
41 CONFIG_IA32_EMULATION=y
43 dnl Memory Type Range Register support
44 dnl and other x86 goodies ...
45 dnl
46 CONFIG_MTRR=y
47 CONFIG_X86_MCE=y
48 CONFIG_X86_MCE_NONFATAL=y
49 CONFIG_X86_MCE_P4THERMAL=y
51 dnl PC Speaker for 2.5/6 kernel
52 CONFIG_INPUT_PCSPKR=y
54 dnl Other useful stuff
55 dnl
56 CONFIG_RTC=y
58 include(`kernel-common.conf.m4')
59 include(`kernel-block.conf.m4')
60 include(`kernel-net.conf.m4')
61 include(`kernel-fs.conf.m4')
63 CONFIG_FB_VESA=y
64 EOT
65 } | m4 -I $base/architecture/$arch -I $base/architecture/share