OpenSDE Packages Database (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.

70 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../linux/arch/config-common.sh
  5. # Copyright (C) 2008 - 2012 The OpenSDE 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. linux_ver="$1"
  15. cat <<EOT
  16. # don't add a fancy hash at the end of the kernel version
  17. CONFIG_LOCALVERSION_AUTO=n
  18. # it's fanciness, but everyone likes it there by default, FB and the pinguins
  19. CONFIG_FB=y
  20. CONFIG_FRAMEBUFFER_CONSOLE=y
  21. CONFIG_LOGO=y
  22. # serial console
  23. CONFIG_SERIAL_8250=y
  24. CONFIG_SERIAL_8250_CONSOLE=y
  25. CONFIG_SERIAL_8250_PCI=y
  26. CONFIG_SERIAL_8250_PNP=y
  27. # ps/2 keyboard & mouse - as of 2.6.27, it can't be handled by udev
  28. CONFIG_SERIO=y
  29. CONFIG_SERIO_I8042=y
  30. # udev needs it built-in
  31. CONFIG_UNIX=y
  32. # recommended by udev (as of 136)
  33. CONFIG_SYSFS_DEPRECATED=n
  34. CONFIG_SYSFS_DEPRECATED_V2=n
  35. # no debugging by default
  36. CONFIG_DEBUG_.*=n
  37. CONFIG_.*_DEBUG=n
  38. CONFIG_REISERFS_CHECK=n
  39. # disable /dev/kmem by default (besides by rootkits it is used very rarely)
  40. # https://lkml.org/lkml/2008/2/10/328
  41. CONFIG_DEVKMEM=n
  42. # disable gcov kernel profiling support because it seems to be broken
  43. CONFIG_GCOV_KERNEL=n
  44. CONFIG_GCOV_PROFILE_ALL=n
  45. # disable the tracing infrastructure by default
  46. CONFIG_FTRACE=n
  47. # disable build time boot arguments by default
  48. CONFIG_CMDLINE_BOOL=n
  49. # disable sample code
  50. CONFIG_SAMPLES=n
  51. # do not refuse to enumerate external hubs
  52. CONFIG_USB_OTG_BLACKLIST_HUB=n
  53. EOT
  54. # broken since 2.6.20 and still as of 2.6.27
  55. echo "CONFIG_SUNDANCE_MMIO=n"