OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: architecture/x86-64/kernel.conf.sh
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  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 ---
  14. {
  15. cat <<- 'EOT'
  16. define(`INTEL', `Intel X86 PCs')dnl
  17. dnl CPU configuration
  18. dnl
  19. EOT
  20. linux_arch=MK8
  21. for x in "generic GENERIC_CPU" \
  22. "em64t MPSC"
  23. do
  24. set $x
  25. [ "$1" = "$SDECFG_X8664_OPT" ] && linux_arch=$2
  26. done
  27. for x in GENERIC_CPU MK8 MPSC
  28. do
  29. if [ "$linux_arch" != "$x" ]
  30. then echo "# CONFIG_$x is not set"
  31. else echo "CONFIG_$x=y" ; fi
  32. done
  33. echo
  34. cat <<- 'EOT'
  35. CONFIG_ACPI=y
  36. CONFIG_IA32_EMULATION=y
  37. dnl Memory Type Range Register support
  38. dnl and other x86 goodies ...
  39. dnl
  40. CONFIG_MTRR=y
  41. CONFIG_X86_MCE=y
  42. CONFIG_X86_MCE_NONFATAL=y
  43. CONFIG_X86_MCE_P4THERMAL=y
  44. dnl PC Speaker for 2.5/6 kernel
  45. CONFIG_INPUT_PCSPKR=y
  46. dnl Other useful stuff
  47. dnl
  48. CONFIG_RTC=y
  49. include(`kernel-common.conf.m4')
  50. include(`kernel-block.conf.m4')
  51. include(`kernel-net.conf.m4')
  52. include(`kernel-fs.conf.m4')
  53. CONFIG_FB_VESA=y
  54. EOT
  55. } | m4 -I $base/architecture/$arch -I $base/architecture/share