Config.in 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_TARGET_KERNEL_VMLINUZ
  4. boolean
  5. config ADK_TARGET_KERNEL_ZIMAGE
  6. boolean
  7. config ADK_TARGET_KERNEL_LINUXBIN
  8. boolean
  9. config ADK_TARGET_KERNEL_IMAGE
  10. boolean
  11. config ADK_TARGET_KERNEL_BZIMAGE
  12. boolean
  13. config ADK_TARGET_KERNEL
  14. string
  15. default "zImage" if ADK_TARGET_KERNEL_ZIMAGE
  16. default "Image" if ADK_TARGET_KERNEL_IMAGE
  17. default "linux.bin" if ADK_TARGET_KERNEL_LINUXBIN
  18. default "vmlinuz" if ADK_TARGET_KERNEL_VMLINUZ
  19. default "bzImage" if ADK_TARGET_KERNEL_BZIMAGE
  20. default "vmlinux"
  21. config ADK_big
  22. boolean
  23. config ADK_little
  24. boolean
  25. config ADK_soft_float
  26. boolean
  27. config ADK_hard_float
  28. boolean
  29. config ADK_mode_arm
  30. boolean
  31. config ADK_mode_thumb
  32. boolean
  33. config ADK_TARGET_FLOAT
  34. string
  35. default "hard" if ADK_hard_float
  36. default "soft" if ADK_soft_float
  37. config ADK_TARGET_ARM_MODE
  38. depends on ADK_LINUX_ARM
  39. string
  40. default "arm" if ADK_mode_arm
  41. default "thumb" if ADK_mode_thumb
  42. default "arm"
  43. config ADK_TARGET_ENDIAN
  44. string
  45. default "little" if ADK_little
  46. default "big" if ADK_big
  47. config ADK_JFFS2_OPTS
  48. string
  49. default "-l" if ADK_little
  50. default "-b" if ADK_big
  51. config ADK_TOOLCHAIN
  52. boolean
  53. source "target/config/Config.in.arch"
  54. source "target/config/Config.in.system"
  55. config ADK_LINUX_MIPS64
  56. boolean
  57. default y if ADK_LINUX_MIPS && ADK_TARGET_KERNEL64
  58. choice
  59. prompt "Toolchain options"
  60. depends on ADK_TOOLCHAIN
  61. config ADK_TOOLCHAIN_ONLY
  62. boolean "Only build toolchain and selected packages"
  63. config ADK_TOOLCHAIN_ARCHIVE
  64. boolean "Build a complete system usable f.e. via chroot"
  65. endchoice
  66. choice
  67. prompt "Target Kernel"
  68. depends on ADK_TARGET_SYSTEM_LEMOTE_YEELONG \
  69. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  70. || ADK_TARGET_SYSTEM_QEMU_MIPS64EL \
  71. || ADK_LINUX_X86_64
  72. config ADK_TARGET_KERNEL64
  73. boolean "64 Bit Kernel"
  74. config ADK_TARGET_KERNEL32
  75. boolean "32 Bit Kernel"
  76. endchoice
  77. config ADK_32
  78. boolean
  79. config ADK_64
  80. boolean
  81. config ADK_x32
  82. boolean
  83. config ADK_o32
  84. boolean
  85. config ADK_n32
  86. boolean
  87. config ADK_n64
  88. boolean
  89. config ADK_eabi
  90. boolean
  91. config ADK_eabihf
  92. boolean
  93. config ADK_TARGET_ABI
  94. string
  95. default "n32" if ADK_n32
  96. default "n64" if ADK_n64
  97. default "32" if ADK_32
  98. default "x32" if ADK_x32
  99. default "eabi" if ADK_eabi
  100. default "eabihf" if ADK_eabihf
  101. config ADK_TARGET_MIPS_ABI
  102. depends on ADK_LINUX_MIPS
  103. string
  104. default "32" if ADK_o32
  105. default "n32" if ADK_n32
  106. default "64" if ADK_n64
  107. choice
  108. prompt "Target ABI"
  109. depends on ADK_TARGET_KERNEL64 && ADK_LINUX_MIPS && !ADK_TOOLCHAIN
  110. config ADK_TARGET_ABI_N32
  111. boolean "N32 ABI (new)"
  112. select ADK_n32
  113. config ADK_TARGET_ABI_O32
  114. boolean "O32 ABI (old)"
  115. select ADK_o32
  116. config ADK_TARGET_ABI_N64
  117. boolean "N64 ABI"
  118. select ADK_n64
  119. endchoice
  120. choice
  121. prompt "Target ABI"
  122. depends on ADK_TARGET_KERNEL64 && ADK_LINUX_X86_64 && !ADK_TOOLCHAIN
  123. config ADK_TARGET_ABI_64
  124. boolean "64 Bit ABI"
  125. select ADK_64
  126. config ADK_TARGET_ABI_X32
  127. boolean "x32 ABI (new)"
  128. select ADK_x32
  129. config ADK_TARGET_ABI_32
  130. boolean "32 Bit ABI"
  131. select ADK_32
  132. endchoice
  133. config ADK_TARGET_LIBC_PATH
  134. string
  135. default "lib32" if ADK_n32
  136. default "libx32" if ADK_x32
  137. default "lib64" if ADK_n64 \
  138. || ADK_64 \
  139. || ADK_LINUX_SPARC64 \
  140. || ADK_LINUX_PPC64 \
  141. || ADK_LINUX_X86_64
  142. default "lib"
  143. # submodel support
  144. config ADK_TARGET_KERNEL_MINICONFIG
  145. string
  146. default "qemu-microblaze-s3adsp1800" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  147. default "qemu-microblaze-ml605" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605
  148. default "qemu-arm-versatilepb" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  149. default "qemu-arm-vexpress-a9" if ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9
  150. default "qemu-arm-spitz" if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  151. default "qemu-mips" if ADK_TARGET_SYSTEM_QEMU_MIPS
  152. default "qemu-mipsel" if ADK_TARGET_SYSTEM_QEMU_MIPSEL
  153. default "qemu-mips64" if ADK_TARGET_SYSTEM_QEMU_MIPS64
  154. default "qemu-mips64el" if ADK_TARGET_SYSTEM_QEMU_MIPS64EL
  155. default "qemu-ppc" if ADK_TARGET_SYSTEM_QEMU_PPC
  156. default "qemu-ppc64" if ADK_TARGET_SYSTEM_QEMU_PPC64
  157. default "qemu-sh" if ADK_TARGET_SYSTEM_QEMU_SH4
  158. default "qemu-sh" if ADK_TARGET_SYSTEM_QEMU_SH4EB
  159. default "qemu-sparc" if ADK_TARGET_SYSTEM_QEMU_SPARC
  160. default "qemu-sparc64" if ADK_TARGET_SYSTEM_QEMU_SPARC64
  161. default "qemu-i686" if ADK_TARGET_SYSTEM_QEMU_I686
  162. default "qemu-x86_64" if ADK_TARGET_SYSTEM_QEMU_X86_64
  163. default "cubox-i" if ADK_TARGET_SYSTEM_CUBOX_I
  164. default "raspberry-pi" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  165. default "sharp-zaurus" if ADK_TARGET_SYSTEM_SHARP_ZAURUS
  166. default "lemote-yeelong" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  167. config ADK_QEMU_ARGS
  168. string
  169. default "-nographic" if ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  170. choice
  171. prompt "Qemu Emulation with graphical output"
  172. depends on ADK_HARDWARE_QEMU
  173. config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  174. boolean "disabled"
  175. config ADK_TARGET_QEMU_WITH_GRAPHIC
  176. boolean "enabled"
  177. select ADK_KERNEL_VT
  178. select ADK_KERNEL_VT_CONSOLE
  179. select ADK_KERNEL_FONTS
  180. select ADK_KERNEL_FONT_8x16
  181. select ADK_KERNEL_FB
  182. select ADK_KERNEL_FRAMEBUFFER_CONSOLE
  183. select ADK_KERNEL_FB_SM501 if ADK_TARGET_SYSTEM_QEMU_SH4 || ADK_TARGET_SYSTEM_QEMU_SH4EB
  184. select ADK_KERNEL_FB_CIRRUS if ADK_TARGET_SYSTEM_QEMU_I686 || ADK_TARGET_SYSTEM_QEMU_X86_64
  185. select ADK_KERNEL_FB_PXA if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  186. select ADK_KERNEL_INPUT
  187. select ADK_KERNEL_INPUT_KEYBOARD
  188. select ADK_KERNEL_KEYBOARD_ATKBD if ADK_TARGET_SYSTEM_QEMU_I686 || ADK_TARGET_SYSTEM_QEMU_X86_64
  189. select ADK_KERNEL_INPUT_MOUSE
  190. select ADK_KERNEL_INPUT_MOUSEDEV
  191. select ADK_KERNEL_USB_HID if ADK_TARGET_SYSTEM_QEMU_SH4 || ADK_TARGET_SYSTEM_QEMU_SH4EB
  192. endchoice
  193. choice
  194. prompt "Qemu Emulation using VirtIO drivers"
  195. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64
  196. config ADK_TARGET_QEMU_WITH_VIRTIO
  197. boolean "enabled"
  198. select ADK_KERNEL_BLK_DEV
  199. select ADK_KERNEL_VIRTIO
  200. select ADK_KERNEL_VIRTIO_PCI
  201. select ADK_KERNEL_VIRTIO_NET
  202. select ADK_KERNEL_VIRTIO_BLK
  203. config ADK_TARGET_QEMU_WITHOUT_VIRTIO
  204. boolean "disabled"
  205. endchoice
  206. choice
  207. prompt "Qemu MICROBLAZE Emulation"
  208. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE || ADK_TARGET_SYSTEM_QEMU_MICROBLAZEEL
  209. config ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605
  210. boolean "Xilinx ml605"
  211. select ADK_TARGET_WITH_MTD
  212. config ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  213. boolean "Xilinx Spartan S3ADSP1800"
  214. endchoice
  215. choice
  216. prompt "Qemu ARM Emulation"
  217. depends on ADK_TARGET_SYSTEM_QEMU_ARM
  218. config ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  219. boolean "ARM Ltd. Versatile/PB"
  220. select ADK_soft_float
  221. select ADK_eabi
  222. select ADK_CPU_ARM926EJ_S
  223. config ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9
  224. boolean "ARM Ltd. Versatile Express for Cortex-A9"
  225. select ADK_hard_float
  226. select ADK_eabihf
  227. select ADK_CPU_CORTEX_A9
  228. config ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  229. boolean "Xscale PXA270 Spitz PDA"
  230. select ADK_soft_float
  231. select ADK_eabi
  232. select ADK_CPU_XSCALE
  233. select ADK_TARGET_WITH_VGA
  234. endchoice
  235. choice
  236. prompt "Use ARM thumb mode"
  237. depends on ADK_CPU_CORTEX_A9
  238. config ADK_LINUX_ARM_WITHOUT_THUMB
  239. boolean "disabled"
  240. select ADK_mode_arm
  241. config ADK_LINUX_ARM_WITH_THUMB
  242. boolean "enabled"
  243. select ADK_mode_thumb
  244. select ADK_KERNEL_THUMB2_KERNEL
  245. endchoice
  246. choice
  247. prompt "Broadcom BCM47xx Model"
  248. depends on ADK_TARGET_SYSTEM_BROADCOM_BCM47XX
  249. config ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54G
  250. boolean "Linksys WRT54g"
  251. config ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54GS
  252. boolean "Linksys WRT54gs"
  253. config ADK_TARGET_BROADCOM_MODEL_ASUS_WL500GP
  254. boolean "Asus WL500gP"
  255. endchoice
  256. # hardware features
  257. config ADK_TARGET_WITH_USB
  258. boolean
  259. config ADK_TARGET_WITH_PCI
  260. boolean
  261. config ADK_TARGET_WITH_SSB
  262. boolean
  263. config ADK_TARGET_WITH_AHB
  264. boolean
  265. config ADK_TARGET_WITH_MINIPCI
  266. boolean
  267. config ADK_TARGET_WITH_ACPI
  268. boolean
  269. config ADK_TARGET_WITH_VGA
  270. boolean
  271. config ADK_TARGET_WITH_CF
  272. boolean
  273. config ADK_TARGET_WITH_MMC
  274. boolean
  275. config ADK_TARGET_WITH_NAND
  276. boolean
  277. config ADK_TARGET_WITH_MTD
  278. boolean
  279. config ADK_TARGET_WITH_GEODE_CRYPTO
  280. boolean
  281. config ADK_TARGET_WITH_HDD
  282. boolean
  283. config ADK_TARGET_WITH_SATA
  284. boolean
  285. config ADK_TARGET_WITH_INPUT
  286. boolean
  287. config ADK_TARGET_WITH_SOUND
  288. boolean
  289. config ADK_TARGET_WITH_TOUCHSCREEN
  290. boolean
  291. config ADK_TARGET_WITH_LEDS
  292. boolean
  293. config ADK_TARGET_WITH_PP
  294. boolean
  295. config ADK_TARGET_WITH_CARDBUS
  296. boolean
  297. config ADK_TARGET_WITH_PCMCIA
  298. boolean
  299. config ADK_TARGET_WITH_RTC
  300. boolean
  301. config ADK_TARGET_WITH_WATCHDOG
  302. boolean
  303. config ADK_TARGET_WITH_DSL
  304. boolean
  305. config ADK_TARGET_WITH_USB_BOOT
  306. boolean
  307. config ADK_TARGET_KERNEL_MAY_64BIT
  308. boolean
  309. # global symbols
  310. config ADK_TOOLCHAIN_ONLY
  311. boolean
  312. config ADK_LINUX_64
  313. boolean
  314. config ADK_HARDWARE_QEMU
  315. boolean
  316. config ADK_HARDWARE_VBOX
  317. boolean
  318. # the inverse of ADK_TARGET_KERNEL_CUSTOMISING,
  319. # allows for selecting it off (i.e., to disable it)
  320. config ADK_TARGET_FIXED_KERNEL
  321. bool
  322. default n
  323. config ADK_TARGET_KERNEL_CUSTOMISING
  324. bool
  325. default y
  326. depends on !ADK_TARGET_FIXED_KERNEL
  327. # cpu features
  328. config ADK_TARGET_CPU_WITH_VT
  329. boolean
  330. config ADK_TARGET_CPU_WITH_MTRR
  331. boolean
  332. config ADK_TARGET_CPU_WITH_MMX
  333. boolean
  334. config ADK_TARGET_CPU_WITH_MMXEXT
  335. boolean
  336. config ADK_TARGET_CPU_WITH_SSE
  337. boolean
  338. config ADK_TARGET_CPU_WITH_SSE2
  339. boolean
  340. config ADK_TARGET_CPU_WITH_SSE3
  341. boolean
  342. config ADK_TARGET_CPU_WITH_SSSE3
  343. boolean
  344. config ADK_TARGET_CPU_WITH_IWMMXT
  345. boolean
  346. # hyper threading
  347. config ADK_TARGET_CPU_WITH_HT
  348. boolean
  349. config ADK_TARGET_CPU_WITH_3DNOW
  350. boolean
  351. config ADK_TARGET_CPU_WITH_3DNOWEXT
  352. boolean
  353. # cpu configuration
  354. config ADK_CPU_SH4
  355. boolean
  356. config ADK_CPU_SPARC_V8
  357. boolean
  358. config ADK_CPU_SPARC_V9
  359. boolean
  360. config ADK_CPU_I486
  361. boolean
  362. config ADK_CPU_I586
  363. boolean
  364. config ADK_CPU_I686
  365. boolean
  366. config ADK_CPU_X86_64
  367. boolean
  368. config ADK_CPU_GEODE
  369. boolean
  370. config ADK_CPU_PPC
  371. boolean
  372. config ADK_CPU_PPC64
  373. boolean
  374. config ADK_CPU_PENTIUM_M
  375. boolean
  376. config ADK_CPU_ATOM
  377. boolean
  378. config ADK_CPU_AMDFAM10
  379. select ADK_TARGET_CPU_WITH_VT
  380. boolean
  381. config ADK_CPU_LOONGSON2F
  382. boolean
  383. config ADK_CPU_XSCALE
  384. boolean
  385. config ADK_CPU_M68K
  386. boolean
  387. config ADK_CPU_MIPS32
  388. boolean
  389. config ADK_CPU_MIPS64
  390. boolean
  391. config ADK_CPU_MICROBLAZE
  392. boolean
  393. config ADK_CPU_ARM926EJ_S
  394. boolean
  395. config ADK_CPU_ARM1176JZF_S
  396. boolean
  397. config ADK_CPU_CORTEX_A9
  398. boolean
  399. config ADK_TARGET_CPU_ARCH
  400. string
  401. default "x86_64" if ADK_CPU_X86_64
  402. default "x86_64" if ADK_CPU_AMDFAM10
  403. default "i486" if ADK_CPU_I486
  404. default "i586" if ADK_CPU_I586
  405. default "i686" if ADK_CPU_I686
  406. default "i586" if ADK_CPU_GEODE
  407. default "i686" if ADK_CPU_PENTIUM_M
  408. default "i686" if ADK_CPU_ATOM
  409. default "m68k" if ADK_LINUX_M68K
  410. default "microblaze" if ADK_LINUX_MICROBLAZE && ADK_big
  411. default "microblazeel" if ADK_LINUX_MICROBLAZE && ADK_little
  412. default "mips64" if ADK_LINUX_MIPS && ADK_big && ADK_LINUX_64
  413. default "mips64el" if ADK_LINUX_MIPS && ADK_little && ADK_LINUX_64
  414. default "mips" if ADK_LINUX_MIPS && ADK_big
  415. default "mipsel" if ADK_LINUX_MIPS && ADK_little
  416. default "arm" if ADK_LINUX_ARM && ADK_little
  417. default "armeb" if ADK_LINUX_ARM && ADK_big
  418. default "sparc" if ADK_LINUX_SPARC
  419. default "sparc64" if ADK_LINUX_SPARC64
  420. default "sh4" if ADK_LINUX_SH && ADK_little
  421. default "sh4eb" if ADK_LINUX_SH && ADK_big
  422. default "ppc" if ADK_CPU_PPC
  423. default "ppc64" if ADK_CPU_PPC64
  424. default "mips64el" if ADK_native && ADK_lemote_yeelong
  425. config ADK_TARGET_ABI_CFLAGS
  426. string
  427. default "-mabi=32" if ADK_o32
  428. default "-mabi=n32" if ADK_n32
  429. default "-mabi=64" if ADK_n64
  430. default "-m32" if ADK_32
  431. default "-mx32" if ADK_x32
  432. default "-m64" if ADK_64
  433. config ADK_TARGET_ABI_LDFLAGS
  434. string
  435. default "-Wl,-m -Wl,elf_i386" if ADK_32
  436. config ADK_TARGET_KERNEL_LDFLAGS
  437. string
  438. default "-mabi=64" if ADK_n32 && ADK_TARGET_KERNEL64
  439. default "-mabi=64" if ADK_o32 && ADK_TARGET_KERNEL64
  440. default "-mabi=64" if ADK_n64 && ADK_TARGET_KERNEL64
  441. default ""
  442. config ADK_TARGET_CFLAGS
  443. string
  444. default "-march=geode" if ADK_CPU_GEODE
  445. default "-march=i486" if ADK_CPU_I486
  446. default "-march=i586" if ADK_CPU_I586
  447. default "-march=i686" if ADK_CPU_I686
  448. default "-march=pentium-m" if ADK_CPU_PENTIUM_M
  449. default "-march=atom" if ADK_CPU_ATOM
  450. default "-march=amdfam10" if ADK_CPU_AMDFAM10
  451. default "-mcpu=v8" if ADK_CPU_SPARC_V8
  452. default "-m64 -mcpu=ultrasparc" if ADK_CPU_SPARC_V9
  453. default "-march=loongson2f -Wa,-mfix-loongson2f-nop" if ADK_CPU_LOONGSON2F
  454. default "-march=mips32" if ADK_CPU_MIPS32
  455. default "-march=mips64" if ADK_CPU_MIPS64
  456. default "-march=armv5te -mtune=iwmmxt" if ADK_CPU_XSCALE
  457. default "-march=armv5te -mtune=arm926ej-s -mfloat-abi=soft" if ADK_CPU_ARM926EJ_S && ADK_soft_float
  458. default "-march=armv5te -mtune=arm926ej-s -mfloat-abi=hard" if ADK_CPU_ARM926EJ_S && ADK_hard_float
  459. default "-march=armv6 -mtune=arm1176jzf-s -mfloat-abi=soft" if ADK_CPU_ARM1176JZF_S && ADK_soft_float
  460. default "-march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard" if ADK_CPU_ARM1176JZF_S && ADK_hard_float
  461. default "-march=armv7-a -mtune=cortex-a9 -mfloat-abi=soft" if ADK_CPU_CORTEX_A9 && ADK_soft_float
  462. default "-march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard" if ADK_CPU_CORTEX_A9 && ADK_hard_float
  463. config ADK_TARGET_CMDLINE
  464. string
  465. default "dwc_otg.fiq_split_enable=1" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  466. default "console=tty0" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  467. default "console=ttymxc0,115200" if ADK_TARGET_SYSTEM_CUBOX_I
  468. default "console=ttyS0,9600" if ADK_TARGET_SYSTEM_FON_FON2100
  469. default "console=ttyS0,38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  470. default "console=ttyS0,115200 console=tty0 geodewdt.nowayout=1" if ADK_TARGET_SYSTEM_PCENGINES_ALIX1C
  471. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_IBM_X40
  472. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_INTEL_ATOM
  473. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_QEMU_I686
  474. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_QEMU_X86_64
  475. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_QEMU_SPARC64
  476. default "console=ttyS0,9600 console=tty0" if ADK_TARGET_SYSTEM_QEMU_PPC
  477. default "console=hvc0 console=tty0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  478. default "console=ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  479. default "console=ttyS0,115200" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605
  480. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_VBOX_I686
  481. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  482. default "console=ttyAMA0 console=tty0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  483. default "console=ttyAMA0 console=tty0" if ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9
  484. default "console=ttyS0,115200 console=tty0 fbcon=rotate:1" if ADK_TARGET_SYSTEM_SHARP_ZAURUS
  485. default "console=ttySC1 console=tty0" if ADK_TARGET_SYSTEM_QEMU_SH4
  486. default "console=ttySC1 console=tty0" if ADK_TARGET_SYSTEM_QEMU_SH4EB
  487. default "console=ttyS0" if ADK_TARGET_SYSTEM_ARANYM_M68K
  488. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_PCENGINES_ALIX2D13
  489. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_PCENGINES_ALIX2D2
  490. default ""
  491. # c library
  492. config ADK_uclibc
  493. boolean
  494. config ADK_glibc
  495. boolean
  496. config ADK_musl
  497. boolean
  498. config ADK_libc
  499. boolean
  500. config ADK_TARGET_LIBC
  501. string
  502. default "uclibc" if ADK_uclibc
  503. default "glibc" if ADK_glibc
  504. default "musl" if ADK_musl
  505. default "libc" if ADK_libc
  506. source "target/linux/config/Config.in.kernel"
  507. choice
  508. prompt "Target C library"
  509. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  510. config ADK_TARGET_LIB_UCLIBC
  511. prompt "uClibc embedded C library"
  512. boolean
  513. select ADK_uclibc
  514. depends on \
  515. !ADK_LINUX_MICROBLAZE && \
  516. !ADK_LINUX_SPARC64 && \
  517. !ADK_LINUX_PPC64 && \
  518. !ADK_TARGET_ABI_X32
  519. help
  520. http://uclibc.org
  521. config ADK_TARGET_LIB_GLIBC
  522. prompt "GNU C library"
  523. boolean
  524. select ADK_glibc
  525. depends on \
  526. ADK_LINUX_ARM || \
  527. ADK_LINUX_M68K || \
  528. ADK_LINUX_MICROBLAZE || \
  529. ADK_LINUX_MIPS || \
  530. ADK_LINUX_PPC || \
  531. ADK_LINUX_PPC64 || \
  532. ADK_LINUX_SH || \
  533. ADK_LINUX_SPARC || \
  534. ADK_LINUX_SPARC64 || \
  535. ADK_LINUX_X86 || \
  536. ADK_LINUX_X86_64
  537. help
  538. http://www.gnu.org/libc
  539. config ADK_TARGET_LIB_MUSL
  540. prompt "musl C library"
  541. boolean
  542. select ADK_musl
  543. depends on !ADK_LINUX_MIPS64
  544. depends on \
  545. ADK_LINUX_ARM || \
  546. ADK_LINUX_MICROBLAZE || \
  547. ADK_LINUX_MIPS || \
  548. ADK_LINUX_PPC || \
  549. ADK_LINUX_SH || \
  550. ADK_LINUX_X86 || \
  551. ADK_LINUX_X86_64
  552. help
  553. http://musl-libc.org
  554. config ADK_TARGET_LIB_LIBC
  555. prompt "Native C library"
  556. boolean
  557. select ADK_libc
  558. depends on ADK_LINUX_NATIVE
  559. endchoice
  560. config ADK_TARGET_SUFFIX
  561. string
  562. default "gnueabihf" if ADK_TARGET_LIB_GLIBC && ADK_eabihf
  563. default "gnueabi" if ADK_TARGET_LIB_GLIBC && ADK_eabi
  564. default "gnuabi64" if ADK_TARGET_LIB_GLIBC && ADK_n64
  565. default "gnuabin32" if ADK_TARGET_LIB_GLIBC && ADK_n32
  566. default "gnuabi32" if ADK_TARGET_LIB_GLIBC && ADK_o32
  567. default "gnu32" if ADK_TARGET_LIB_GLIBC && ADK_32 && ADK_TARGET_KERNEL64
  568. default "gnux32" if ADK_TARGET_LIB_GLIBC && ADK_x32 && ADK_TARGET_KERNEL64
  569. default "gnu" if ADK_TARGET_LIB_GLIBC
  570. default "uclibcgnueabihf" if ADK_TARGET_LIB_UCLIBC && ADK_eabihf
  571. default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_eabi
  572. default "uclibcabi64" if ADK_TARGET_LIB_UCLIBC && ADK_n64
  573. default "uclibcabin32" if ADK_TARGET_LIB_UCLIBC && ADK_n32
  574. default "uclibcabi32" if ADK_TARGET_LIB_UCLIBC && ADK_o32
  575. default "uclibc32" if ADK_TARGET_LIB_UCLIBC && ADK_32 && ADK_TARGET_KERNEL64
  576. default "uclibcx32" if ADK_TARGET_LIB_UCLIBC && ADK_x32 && ADK_TARGET_KERNEL64
  577. default "uclibc" if ADK_TARGET_LIB_UCLIBC
  578. default "muslgnueabihf" if ADK_TARGET_LIB_MUSL && ADK_eabihf
  579. default "muslgnueabi" if ADK_TARGET_LIB_MUSL && ADK_eabi
  580. default "muslabi64" if ADK_TARGET_LIB_MUSL && ADK_n64
  581. default "muslabin32" if ADK_TARGET_LIB_MUSL && ADK_n32
  582. default "muslabi32" if ADK_TARGET_LIB_MUSL && ADK_o32
  583. default "musl32" if ADK_TARGET_LIB_MUSL && ADK_32 && ADK_TARGET_KERNEL64
  584. default "muslx32" if ADK_TARGET_LIB_MUSL && ADK_x32 && ADK_TARGET_KERNEL64
  585. default "musl" if ADK_TARGET_LIB_MUSL
  586. choice
  587. prompt "Target firmware type"
  588. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH && !ADK_TOOLCHAIN
  589. default ADK_TARGET_ROOTFS_ARCHIVE
  590. config ADK_TARGET_ROOTFS_INITRAMFS
  591. bool "initramfs filesystem"
  592. depends on \
  593. ADK_HARDWARE_QEMU || \
  594. ADK_LINUX_M68K || \
  595. ADK_LINUX_ARM || \
  596. ADK_LINUX_MICROBLAZE || \
  597. ADK_LINUX_MIPS || \
  598. ADK_LINUX_PPC || \
  599. ADK_LINUX_SPARC || \
  600. ADK_LINUX_X86 || \
  601. ADK_LINUX_X86_64 || \
  602. ADK_LINUX_NATIVE
  603. depends on !ADK_HARDWARE_VBOX
  604. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  605. select ADK_KERNEL_BLK_DEV_INITRD
  606. select ADK_KERNEL_RD_XZ
  607. help
  608. create an read-only initramfs system.
  609. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  610. bool "initramfs filesystem included into kernel image"
  611. select ADK_LINUX_INITRAMFS_BUILTIN
  612. depends on \
  613. ADK_HARDWARE_QEMU || \
  614. ADK_LINUX_ARM || \
  615. ADK_LINUX_MICROBLAZE || \
  616. ADK_LINUX_MIPS || \
  617. ADK_LINUX_PPC || \
  618. ADK_LINUX_SPARC || \
  619. ADK_LINUX_X86 || \
  620. ADK_LINUX_X86_64 || \
  621. ADK_LINUX_NATIVE
  622. depends on !ADK_HARDWARE_VBOX
  623. select ADK_KERNEL_EXT2_FS
  624. help
  625. create an read-only initramfs system.
  626. config ADK_TARGET_ROOTFS_SQUASHFS
  627. bool "Compressed read-only root filesystem (squashfs)"
  628. select ADK_KERNEL_SQUASHFS
  629. select ADK_HOST_NEED_SQUASHFS
  630. depends on ADK_TARGET_WITH_MTD
  631. help
  632. highly compressed read-only filesystem for MTD flash systems.
  633. config ADK_TARGET_ROOTFS_JFFS2
  634. bool "Compressed read-write root filesystem (jffs2)"
  635. select ADK_KERNEL_MISC_FILESYSTEMS
  636. select ADK_KERNEL_JFFS2
  637. select ADK_HOST_NEED_JFFS2
  638. depends on ADK_TARGET_WITH_MTD
  639. help
  640. compressed read-write filesystem for MTD flash systems.
  641. config ADK_TARGET_ROOTFS_YAFFS
  642. bool "YAFFS2 root filesystem (NAND)"
  643. select ADK_KERNEL_MISC_FILESYSTEMS
  644. select ADK_KERNEL_YAFFS_FS
  645. select ADK_KERNEL_YAFFS_YAFFS2
  646. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  647. depends on ADK_TARGET_WITH_NAND
  648. help
  649. Root filesystem on NAND flash with YAFFS2.
  650. config ADK_TARGET_ROOTFS_NFSROOT
  651. bool "NFS root"
  652. select ADK_KERNEL_NETWORK_FILESYSTEMS
  653. select ADK_KERNEL_SUNRPC
  654. select ADK_KERNEL_NFS_FS
  655. select ADK_KERNEL_NFS_V3
  656. select ADK_KERNEL_ROOT_NFS
  657. select ADK_KERNEL_NFS_COMMON
  658. select ADK_KERNEL_IP_PNP
  659. select ADK_KERNEL_IP_PNP_DHCP
  660. depends on !ADK_HARDWARE_QEMU && !ADK_HARDWARE_VBOX && !ADK_TARGET_SYSTEM_ARANYM_M68K
  661. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  662. help
  663. Root filesystem mounted via NFS. (DHCP)
  664. config ADK_TARGET_ROOTFS_USB
  665. bool "Boot from USB stick"
  666. select ADK_KERNEL_NLS
  667. select ADK_KERNEL_SCSI
  668. select ADK_KERNEL_BLK_DEV_SD
  669. select ADK_KERNEL_USB
  670. select ADK_KERNEL_USB_EHCI_HCD
  671. select ADK_KERNEL_USB_OHCI_HCD
  672. select ADK_KERNEL_USB_UHCI_HCD
  673. select ADK_KERNEL_USB_STORAGE
  674. select ADK_KERNEL_EXT2_FS
  675. depends on ADK_TARGET_WITH_USB_BOOT
  676. help
  677. Boot system from USB stick.
  678. config ADK_TARGET_ROOTFS_CF
  679. bool "read-write filesystem for compact flash"
  680. depends on ADK_TARGET_WITH_CF
  681. select ADK_KERNEL_EXT2_FS
  682. select ADK_KERNEL_SCSI
  683. help
  684. Use this option if you have a compact flash based system.
  685. (ext2 filesystem is used.)
  686. config ADK_TARGET_ROOTFS_GENEXT2FS
  687. bool "read-write filesystem for compact flash (genext2fs version)"
  688. depends on ADK_TARGET_WITH_CF
  689. select ADK_KERNEL_EXT2_FS
  690. select ADK_KERNEL_SCSI
  691. select ADK_HOST_NEED_GENEXT2FS
  692. help
  693. Use this option if you have a compact flash based system.
  694. (ext2 filesystem is used.)
  695. config ADK_TARGET_ROOTFS_MMC
  696. bool "read-write filesystem for mmc/sdcard"
  697. depends on ADK_TARGET_WITH_MMC
  698. select ADK_KERNEL_EXT2_FS
  699. select ADK_KERNEL_SCSI
  700. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  701. help
  702. Use this option if you have a MMC/SDCARD based system.
  703. (ext2 filesystem is used.)
  704. config ADK_TARGET_ROOTFS_ISO
  705. bool "ISO image"
  706. select ADK_KERNEL_ISO9660_FS
  707. select ADK_KERNEL_JOLIET
  708. select ADK_KERNEL_SCSI
  709. select ADK_KERNEL_BLK_DEV_SR
  710. select ADK_HOST_NEED_MKISOFS
  711. select ADK_HOST_NEED_SYSLINUX
  712. depends on ADK_HOST_LINUX
  713. depends on ADK_LINUX_X86
  714. help
  715. Use this option to create a bootable ISO image.
  716. config ADK_TARGET_ROOTFS_ARCHIVE
  717. bool "Archive usable for different filesystems"
  718. select ADK_HOST_NEED_GENEXT2FS if ADK_HARDWARE_QEMU
  719. select ADK_KERNEL_EXT2_FS if ADK_HARDWARE_QEMU
  720. help
  721. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  722. endchoice
  723. config ADK_TARGET_ROOT_EXT4_RASPBERRY_PI
  724. boolean
  725. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI && ADK_TARGET_ROOTFS_ARCHIVE
  726. select ADK_KERNEL_EXT4_FS
  727. default y
  728. help
  729. Compile EXT4 filesystem into kernel and use it as root filesystem.
  730. choice
  731. prompt "Root filesystem type"
  732. depends on ADK_TARGET_ROOTFS_ARCHIVE && !ADK_TARGET_SYSTEM_RASPBERRY_PI && !ADK_HARDWARE_QEMU
  733. default ADK_TARGET_ROOT_EXT2_FS
  734. config ADK_TARGET_ROOT_EXT2
  735. boolean
  736. prompt "EXT2 filesystem"
  737. select ADK_KERNEL_EXT2_FS
  738. help
  739. Compile EXT2 filesystem into kernel and use it as root filesystem.
  740. config ADK_TARGET_ROOT_EXT3
  741. boolean
  742. prompt "EXT3 filesystem"
  743. select ADK_KERNEL_EXT3_FS
  744. help
  745. Compile EXT3 filesystem into kernel and use it as root filesystem.
  746. config ADK_TARGET_ROOT_EXT4
  747. boolean
  748. prompt "EXT4 filesystem"
  749. select ADK_KERNEL_EXT4_FS
  750. help
  751. Compile EXT4 filesystem into kernel and use it as root filesystem.
  752. config ADK_TARGET_ROOT_XFS
  753. boolean
  754. prompt "XFS filesystem"
  755. select ADK_KERNEL_XFS_FS
  756. help
  757. Compile XFS filesystem into kernel and use it as root filesystem.
  758. endchoice
  759. config ADK_TARGET_ROOTFS
  760. string
  761. default "xfs" if ADK_TARGET_ROOT_XFS
  762. default "ext2" if ADK_TARGET_ROOT_EXT2
  763. default "ext3" if ADK_TARGET_ROOT_EXT3
  764. default "ext4" if ADK_TARGET_ROOT_EXT4
  765. help
  766. config ADK_PACKAGE_SUFFIX
  767. string
  768. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  769. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  770. help
  771. choice
  772. prompt "Target package format"
  773. default ADK_TARGET_PACKAGE_IPKG
  774. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  775. config ADK_TARGET_PACKAGE_IPKG
  776. boolean
  777. prompt "ipkg"
  778. select BUSYBOX_IPKG
  779. help
  780. Create ipkg packages and use ipkg package management on the target.
  781. config ADK_TARGET_PACKAGE_TGZ
  782. boolean
  783. prompt "tar archive"
  784. help
  785. Create compressed tar archives of packages.
  786. Pre- and post install scripts will be executed in the target
  787. directory. There will be no package manager installed onto the target.
  788. endchoice
  789. source "target/config/Config.in.tools"