Config.in 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. #comment "Linux kernel options"
  2. config BR2_PACKAGE_LINUX
  3. bool "linux kernel"
  4. depends on BR2_KERNEL_LINUX
  5. default y
  6. help
  7. The Linux kernel.
  8. http://www.kernel.org/
  9. Note: Requires kernel-headers >= 2.6.19 since the other
  10. kernel headers are just that (headers) and not full
  11. kernels. This is a feature.
  12. config BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
  13. bool "linux kernel experimental configuration"
  14. depends on BR2_PACKAGE_LINUX
  15. depends on BR2_TARGET_ATMEL
  16. default n
  17. help
  18. More advanced configuration (in development)
  19. if ! BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
  20. config BR2_PACKAGE_LINUX_KCONFIG
  21. string ".config file"
  22. depends on BR2_PACKAGE_LINUX
  23. default ""
  24. help
  25. kernel's .config to use to build a kernel for the target.
  26. If the above setting is empty, you can change the default
  27. board-imposed value by passing LINUX26_KCONFIG=<path> to
  28. make.
  29. config BR2_PACKAGE_LINUX_FORMAT
  30. string "kernel binary format"
  31. depends on BR2_PACKAGE_LINUX
  32. default ""
  33. help
  34. kernel binary format.
  35. Popular values include:
  36. - bzImage
  37. - zImage
  38. and other, architecture dependant formats.
  39. Note that the default format is supposed to be set by your
  40. board-description, if any.
  41. i386 and compatible default to bzImage if nothing was given
  42. above.
  43. If the above setting is empty, you can change the default
  44. board-imposed value by passing LINUX26_FORMAT=<string> to
  45. make.
  46. endif
  47. if BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
  48. choice
  49. prompt "Linux Kernel Version"
  50. depends on BR2_PACKAGE_LINUX
  51. default BR2_LINUX_2_6_22_1
  52. help
  53. Select the specific Linux version you want to use
  54. config BR2_LINUX_2_6_SNAP
  55. bool "The latest snapshot for the stable Linux kernel"
  56. depends BR2_PACKAGE_LINUX
  57. help
  58. Linux 2.6.x-git#
  59. config BR2_LINUX_2_6_MM
  60. bool "With latest -mm patch for the stable Linux kernel"
  61. depends BR2_PACKAGE_LINUX
  62. help
  63. Linux 2.6.x-rc#-mm#
  64. config BR2_LINUX_2_6_STABLE
  65. bool "The latest stable Linux kernel (2.6.22.1)"
  66. depends BR2_PACKAGE_LINUX
  67. help
  68. Linux 2.6.22.1
  69. config BR2_LINUX_2_6_22_1
  70. bool "Linux 2.6.22.1"
  71. depends BR2_PACKAGE_LINUX
  72. help
  73. Linux 2.6.22-rc1
  74. config BR2_LINUX_2_6_22
  75. bool "Linux 2.6.22"
  76. depends BR2_PACKAGE_LINUX
  77. help
  78. Linux 2.6.22
  79. config BR2_LINUX_2_6_21_6
  80. bool "Linux 2.6.21.6"
  81. depends BR2_PACKAGE_LINUX
  82. help
  83. Linux 2.6.21.6
  84. config BR2_LINUX_2_6_21_1
  85. bool "Linux 2.6.21.1"
  86. depends BR2_PACKAGE_LINUX
  87. help
  88. Linux 2.6.21.1
  89. config BR2_LINUX_2_6_21
  90. bool "Linux 2.6.21"
  91. depends BR2_PACKAGE_LINUX
  92. help
  93. Linux 2.6.21
  94. config BR2_LINUX_2_6_20_4
  95. bool "Linux 2.6.20.4"
  96. depends BR2_PACKAGE_LINUX
  97. help
  98. Linux 2.6.20.4
  99. config BR2_LINUX_2_6_20
  100. bool "Linux 2.6.20"
  101. depends BR2_PACKAGE_LINUX
  102. help
  103. Linux 2.6.20
  104. config BR2_LINUX_2_6_19_2
  105. bool "Linux 2.6.19.2"
  106. depends BR2_PACKAGE_LINUX
  107. help
  108. Linux 2.6.19.2
  109. config BR2_LINUX_2_6_19
  110. bool "Linux 2.6.19"
  111. depends BR2_PACKAGE_LINUX
  112. help
  113. Linux 2.6.19
  114. config BR2_LINUX_2_6_18
  115. bool "Linux 2.6.18"
  116. depends BR2_PACKAGE_LINUX
  117. help
  118. Linux 2.6.18
  119. config BR2_LINUX_2_6_17
  120. bool "Linux 2.6.17"
  121. depends BR2_PACKAGE_LINUX
  122. help
  123. Linux 2.6.17
  124. config BR2_LINUX_2_6_16
  125. bool "Linux 2.6.16"
  126. depends BR2_PACKAGE_LINUX
  127. help
  128. Linux 2.6.16
  129. config BR2_LINUX_2_6_15
  130. bool "Linux 2.6.15"
  131. depends BR2_PACKAGE_LINUX
  132. help
  133. Linux 2.6.15
  134. config BR2_LINUX_2_6_23
  135. bool "Linux 2.6.23"
  136. depends BR2_PACKAGE_LINUX
  137. help
  138. Linux 2.6.23
  139. config BR2_LINUX_CUSTOM
  140. bool "Linux <custom> version"
  141. depends BR2_PACKAGE_LINUX
  142. help
  143. Linux <your selection>
  144. endchoice
  145. config BR2_CUSTOM_DOWNLOAD_LINUX26_VERSION
  146. string "Linux Tarball version"
  147. depends on BR2_LINUX_CUSTOM
  148. default "linux-2.6.22"
  149. config BR2_CUSTOM_LINUX26_VERSION
  150. string "Linux Version"
  151. depends on BR2_LINUX_CUSTOM
  152. default "linux-2.6.22-version"
  153. config BR2_CUSTOM_LINUX26_RC_PATCH
  154. string "RC patch (if needed)"
  155. depends on BR2_LINUX_CUSTOM
  156. default "patch-2.6.22-rc6-mm1.bz2"
  157. menu "Patches"
  158. depends on BR2_PACKAGE_LINUX
  159. config BR2_LINUX_BSP_PATCH
  160. string "Additional patch to apply (supply full path)"
  161. default ""
  162. endmenu
  163. config BR2_DOWNLOAD_LINUX26_VERSION
  164. string #"Selected Tarball:"
  165. default "2.6.15" if BR2_LINUX_2_6_15
  166. default "2.6.16" if BR2_LINUX_2_6_16
  167. default "2.6.17" if BR2_LINUX_2_6_17
  168. default "2.6.18" if BR2_LINUX_2_6_18
  169. default "2.6.19" if BR2_LINUX_2_6_19
  170. default "2.6.19.2" if BR2_LINUX_2_6_19_2
  171. default "2.6.20" if BR2_LINUX_2_6_20
  172. default "2.6.20.4" if BR2_LINUX_2_6_20_4
  173. default "2.6.21" if BR2_LINUX_2_6_21
  174. default "2.6.21.1" if BR2_LINUX_2_6_21_1
  175. default "2.6.21.6" if BR2_LINUX_2_6_21_6
  176. default "2.6.22" if BR2_LINUX_2_6_22
  177. default "2.6.22.1" if BR2_LINUX_2_6_22_1
  178. default "2.6.22" if BR2_LINUX_2_6_23_RC1
  179. default "2.6.22" if BR2_LINUX_2_6_SNAP
  180. default "2.6.22" if BR2_LINUX_2_6_MM
  181. default $(BR2_CUSTOM_DOWNLOAD_LINUX26_VERSION) if BR2_LINUX_CUSTOM
  182. config BR2_LINUX26_VERSION
  183. string "Selected Version:"
  184. default "2.6.15" if BR2_LINUX_2_6_15
  185. default "2.6.16" if BR2_LINUX_2_6_16
  186. default "2.6.17" if BR2_LINUX_2_6_17
  187. default "2.6.18" if BR2_LINUX_2_6_18
  188. default "2.6.19" if BR2_LINUX_2_6_19
  189. default "2.6.19.2" if BR2_LINUX_2_6_19_2
  190. default "2.6.20" if BR2_LINUX_2_6_20
  191. default "2.6.20.4" if BR2_LINUX_2_6_20_4
  192. default "2.6.21" if BR2_LINUX_2_6_21
  193. default "2.6.21.1" if BR2_LINUX_2_6_21_1
  194. default "2.6.21.6" if BR2_LINUX_2_6_21_6
  195. default "2.6.22" if BR2_LINUX_2_6_22
  196. default "2.6.22.1" if BR2_LINUX_2_6_22_1
  197. default "2.6.22" if BR2_LINUX_2_6_23_RC1
  198. default "2.6.22" if BR2_LINUX_2_6_SNAP
  199. default "2.6.22" if BR2_LINUX_2_6_MM
  200. default $(BR2_CUSTOM_LINUX26_VERSION) if BR2_LINUX_CUSTOM
  201. config BR2_LINUX26_RC_PATCH
  202. string #"Selected Patch:"
  203. default "" if BR2_LINUX_2_6_15
  204. default "" if BR2_LINUX_2_6_16
  205. default "" if BR2_LINUX_2_6_17
  206. default "" if BR2_LINUX_2_6_18
  207. default "" if BR2_LINUX_2_6_19
  208. default "" if BR2_LINUX_2_6_19_2
  209. default "" if BR2_LINUX_2_6_20
  210. default "" if BR2_LINUX_2_6_20_4
  211. default "" if BR2_LINUX_2_6_21
  212. default "" if BR2_LINUX_2_6_21_1
  213. default "" if BR2_LINUX_2_6_21_6
  214. default "" if BR2_LINUX_2_6_22
  215. default "" if BR2_LINUX_2_6_22_1
  216. default "patch-2.6.23-rc1.bz2" if BR2_LINUX_2_6_23_RC1
  217. default $(BR2_CUSTOM_LINUX26_RC_PATCH) if BR2_LINUX_CUSTOM
  218. choice
  219. prompt "Linux Kernel Configuration"
  220. depends on BR2_PACKAGE_LINUX
  221. default BR2_PACKAGE_LINUX_USE_KCONFIG
  222. help
  223. Select the way to configure the Linux
  224. config BR2_PACKAGE_LINUX_USE_KCONFIG
  225. bool ".config file"
  226. depends on BR2_PACKAGE_LINUX
  227. help
  228. kernel's .config to use to build a kernel for the target.
  229. If the above setting is empty, you can change the default
  230. board-imposed value by passing LINUX26_KCONFIG=<path> to
  231. make.
  232. config BR2_LINUX26_DEFCONFIG
  233. bool "Run make <board>_defconfig "
  234. depends BR2_PACKAGE_LINUX
  235. help
  236. Configure Linux by make <board>_defconfig
  237. config BR2_LINUX_CUSTOMIZE
  238. bool "Run make ARCH=$(ARCH) xconfig before build"
  239. depends BR2_PACKAGE_LINUX
  240. help
  241. Configure Linux by make xconfig
  242. endchoice
  243. config BR2_PACKAGE_LINUX_KCONFIG
  244. string ".config file"
  245. depends on BR2_PACKAGE_LINUX_USE_KCONFIG
  246. default "$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-linux-$(LINUX26_VERSION).config"
  247. help
  248. kernel's .config to use to build a kernel for the target.
  249. If the above setting is empty, you can change the default
  250. board-imposed value by passing LINUX26_KCONFIG=<path> to
  251. make.
  252. choice
  253. prompt "kernel binary format"
  254. depends on BR2_PACKAGE_LINUX
  255. default BR2_LINUX_BIN_UIMAGE
  256. help
  257. Select the specific Linux binary type you want to use
  258. config BR2_LINUX_BIN_BZIMAGE
  259. bool "bzImage"
  260. depends BR2_PACKAGE_LINUX
  261. help
  262. Linux 2.6.19.2
  263. config BR2_LINUX_BIN_UIMAGE
  264. bool "uImage"
  265. depends BR2_PACKAGE_LINUX
  266. help
  267. Build uImage binary
  268. config BR2_LINUX_BIN_VMLINUX
  269. bool "vmlinux"
  270. depends BR2_PACKAGE_LINUX
  271. help
  272. Build vmlinux binary
  273. config BR2_LINUX_BIN_ZIMAGE
  274. bool "zImage"
  275. depends BR2_PACKAGE_LINUX
  276. help
  277. Linux 2.6.19.2
  278. config BR2_LINUX_BIN_CUSTOM
  279. bool "<custom> Linux binary"
  280. depends BR2_PACKAGE_LINUX
  281. help
  282. Build custom Linux binary format
  283. endchoice
  284. config BR2_LINUX_BIN_CUSTOM_BIN
  285. string "custom kernel binary format"
  286. depends on BR2_LINUX_BIN_CUSTOM
  287. default ""
  288. help
  289. Which Linux binary format?
  290. config BR2_PACKAGE_LINUX_FORMAT
  291. string #"kernel binary format"
  292. depends on BR2_PACKAGE_LINUX
  293. default "bzImage" if BR2_LINUX_BIN_BZIMAGE
  294. default "uImage" if BR2_LINUX_BIN_UIMAGE
  295. default "vmlinux" if BR2_LINUX_BIN_VMLINUX
  296. default "zImage" if BR2_LINUX_BIN_ZIMAGE
  297. default $(BR2_LINUX_BIN_CUSTOM_BIN) if BR2_LINUX_BIN_CUSTOM
  298. help
  299. kernel binary format.
  300. Popular values include:
  301. - bzImage
  302. - zImage
  303. - vmlinux
  304. and other, architecture dependant formats.
  305. Note that the default format is supposed to be set by your
  306. board-description, if any.
  307. i386 and compatible default to bzImage if nothing was given
  308. above.
  309. If the above setting is empty, you can change the default
  310. board-imposed value by passing LINUX26_FORMAT=<string> to
  311. make.
  312. comment "Destinations for linux kernel binaries"
  313. depends on BR2_PACKAGE_LINUX
  314. config BR2_LINUX_IN_ROOTFS
  315. bool "Copy kernel to root file system"
  316. depends BR2_PACKAGE_LINUX
  317. default n
  318. help
  319. Copy kernel to <root>/boot directory
  320. menuconfig BR2_LINUX_COPY
  321. bool "Secondary Copy"
  322. depends on BR2_PACKAGE_LINUX
  323. default y
  324. config BR2_LINUX_COPYTO
  325. string "also copy the image to..."
  326. depends BR2_LINUX_COPY
  327. default "/tftpboot"
  328. help
  329. Copy kernel to secondary location
  330. endif