Config.in 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. menu "Kernel"
  2. config BR2_LINUX_KERNEL
  3. bool "Linux Kernel"
  4. help
  5. Enable this option if you want to build a Linux kernel for
  6. your embedded device
  7. if BR2_LINUX_KERNEL
  8. #
  9. # Version selection. We provide the choice between:
  10. #
  11. # 1. A single fairly recent stable kernel version
  12. # 2. In case an internal toolchain has been built, the same kernel
  13. # version as the kernel headers
  14. # 3. A custom stable version
  15. # 4. A custom tarball
  16. #
  17. choice
  18. prompt "Kernel version"
  19. default BR2_LINUX_KERNEL_2_6_35
  20. config BR2_LINUX_KERNEL_2_6_35
  21. bool "2.6.35.6"
  22. config BR2_LINUX_KERNEL_SAME_AS_HEADERS
  23. bool "Same as toolchain kernel headers"
  24. depends on BR2_TOOLCHAIN_BUILDROOT
  25. help
  26. This option will re-use the same kernel sources as the one
  27. that have been used for the kernel headers of the
  28. cross-compiling toolchain. Having the same version for the
  29. kernel running on the system and for the kernel headers is
  30. not a requirement, but using the same version allows to
  31. download only one tarball of the kernel sources.
  32. config BR2_LINUX_KERNEL_CUSTOM_VERSION
  33. bool "Custom version"
  34. help
  35. This option allows to use a specific 2.6.x or 2.6.x.y
  36. official versions, as available on kernel.org
  37. config BR2_LINUX_KERNEL_CUSTOM_TARBALL
  38. bool "Custom tarball"
  39. help
  40. This option allows to specify the http or ftp location of a
  41. specific kernel source tarball
  42. endchoice
  43. config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
  44. string "Kernel version"
  45. depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
  46. default "2.6.35.6"
  47. config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
  48. string "URL of custom kernel tarball"
  49. depends on BR2_LINUX_KERNEL_CUSTOM_TARBALL
  50. config BR2_LINUX_KERNEL_VERSION
  51. string
  52. default "2.6.35.6" if BR2_LINUX_KERNEL_2_6_35
  53. default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
  54. default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE if BR2_LINUX_KERNEL_CUSTOM_VERSION
  55. default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
  56. #
  57. # Patch selection
  58. #
  59. config BR2_LINUX_KERNEL_PATCH
  60. string "Custom kernel patch"
  61. help
  62. The location can be an URL, a file path, or a directory. In
  63. the case of a directory, all files matching linux-*.patch
  64. will be applied.
  65. #
  66. # Configuration selection
  67. #
  68. choice
  69. prompt "Kernel configuration"
  70. default BR2_LINUX_KERNEL_USE_DEFCONFIG
  71. config BR2_LINUX_KERNEL_USE_DEFCONFIG
  72. bool "Using a defconfig"
  73. config BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
  74. bool "Using a custom config file"
  75. endchoice
  76. config BR2_LINUX_KERNEL_DEFCONFIG
  77. string "Defconfig name"
  78. depends on BR2_LINUX_KERNEL_USE_DEFCONFIG
  79. help
  80. Name of the defconfig file to use, without the trailing
  81. _defconfig
  82. config BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE
  83. string "Configuration file path"
  84. depends on BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
  85. help
  86. Path to the kernel configuration file
  87. #
  88. # Binary format
  89. #
  90. choice
  91. prompt "Kernel binary format"
  92. config BR2_LINUX_KERNEL_UIMAGE
  93. bool "uImage"
  94. depends on BR2_arm || BR2_armeb || BR2_powerpc || BR2_avr32 || BR2_sh || BR2_sh64
  95. config BR2_LINUX_KERNEL_BZIMAGE
  96. bool "bzImage"
  97. depends on BR2_i386 || BR2_x86_64
  98. config BR2_LINUX_KERNEL_ZIMAGE
  99. bool "zImage"
  100. depends on BR2_arm || BR2_armeb || BR2_powerpc || BR2_sparc || BR2_sh || BR2_sh64 || BR2_xtensa
  101. config BR2_LINUX_KERNEL_VMLINUX_BIN
  102. bool "vmlinux.bin"
  103. depends on BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64
  104. endchoice
  105. endif # BR2_LINUX_KERNEL
  106. endmenu