Config.in 23 KB

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