Config.in 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766
  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_UIMAGE
  12. boolean
  13. config ADK_TARGET_KERNEL_BZIMAGE
  14. boolean
  15. config ADK_TARGET_KERNEL
  16. string
  17. default "uImage" if ADK_TARGET_KERNEL_UIMAGE
  18. default "zImage" if ADK_TARGET_KERNEL_ZIMAGE
  19. default "Image" if ADK_TARGET_KERNEL_IMAGE
  20. default "linux.bin" if ADK_TARGET_KERNEL_LINUXBIN
  21. default "vmlinuz" if ADK_TARGET_KERNEL_VMLINUZ
  22. default "bzImage" if ADK_TARGET_KERNEL_BZIMAGE
  23. default "vmlinux"
  24. config ADK_big
  25. boolean
  26. config ADK_little
  27. boolean
  28. config ADK_soft_float
  29. boolean
  30. config ADK_hard_float
  31. boolean
  32. config ADK_fpu_neon
  33. boolean
  34. config ADK_fpu_vfp
  35. boolean
  36. config ADK_TARGET_FLOAT
  37. string
  38. default "hard" if ADK_hard_float
  39. default "soft" if ADK_soft_float
  40. config ADK_TARGET_FPU
  41. string
  42. default "vfp" if ADK_fpu_vfp
  43. default "neon" if ADK_fpu_neon
  44. config ADK_TARGET_ENDIAN
  45. string
  46. default "little" if ADK_little
  47. default "big" if ADK_big
  48. config ADK_JFFS2_OPTS
  49. string
  50. default "-l" if ADK_little
  51. default "-b" if ADK_big
  52. config ADK_TOOLCHAIN
  53. boolean
  54. source "target/config/Config.in.arch"
  55. source "target/config/Config.in.system"
  56. source "target/config/Config.in.hardware"
  57. source "target/config/Config.in.qemu"
  58. config ADK_LINUX_MIPS64
  59. boolean
  60. default y if ADK_LINUX_MIPS && ADK_LINUX_64
  61. choice
  62. prompt "Toolchain options"
  63. depends on ADK_TOOLCHAIN
  64. config ADK_TOOLCHAIN_ONLY
  65. boolean "Only build toolchain and selected packages"
  66. config ADK_TOOLCHAIN_ARCHIVE
  67. boolean "Build a complete system usable f.e. via chroot"
  68. endchoice
  69. config ADK_32
  70. boolean
  71. config ADK_64
  72. boolean
  73. config ADK_x32
  74. boolean
  75. config ADK_o32
  76. boolean
  77. config ADK_n32
  78. boolean
  79. config ADK_n64
  80. boolean
  81. config ADK_eabi
  82. boolean
  83. config ADK_eabihf
  84. boolean
  85. config ADK_TARGET_ABI
  86. string
  87. default "n32" if ADK_n32
  88. default "n64" if ADK_n64
  89. default "32" if ADK_32
  90. default "x32" if ADK_x32
  91. default "eabi" if ADK_eabi
  92. default "eabihf" if ADK_eabihf
  93. config ADK_TARGET_MIPS_ABI
  94. depends on ADK_LINUX_MIPS
  95. string
  96. default "32" if ADK_o32
  97. default "n32" if ADK_n32
  98. default "64" if ADK_n64
  99. choice
  100. prompt "Target ABI"
  101. depends on ADK_LINUX_64 && ADK_LINUX_MIPS && !ADK_TOOLCHAIN && !ADK_HARDWARE_QEMU
  102. config ADK_TARGET_ABI_N32
  103. boolean "N32 ABI (new)"
  104. select ADK_n32
  105. config ADK_TARGET_ABI_O32
  106. boolean "O32 ABI (old)"
  107. select ADK_o32
  108. config ADK_TARGET_ABI_N64
  109. boolean "N64 ABI"
  110. select ADK_n64
  111. endchoice
  112. choice
  113. prompt "Target ABI"
  114. depends on ADK_LINUX_64 && ADK_LINUX_X86_64 && !ADK_TOOLCHAIN && !ADK_HARDWARE_QEMU
  115. config ADK_TARGET_ABI_64
  116. boolean "64 Bit ABI"
  117. select ADK_64
  118. config ADK_TARGET_ABI_X32
  119. boolean "x32 ABI (new)"
  120. select ADK_x32
  121. config ADK_TARGET_ABI_32
  122. boolean "32 Bit ABI"
  123. select ADK_32
  124. endchoice
  125. config ADK_TARGET_LIBC_PATH
  126. string
  127. default "lib" if ADK_32
  128. default "lib32" if ADK_n32
  129. default "libx32" if ADK_x32
  130. default "lib64" if ADK_n64 \
  131. || ADK_64 \
  132. || ADK_LINUX_SPARC64 \
  133. || ADK_LINUX_PPC64 \
  134. || ADK_LINUX_X86_64
  135. default "lib"
  136. config ADK_TARGET_KERNEL_MINICONFIG
  137. string
  138. default "arm-fm" if ADK_TARGET_SYSTEM_ARM_FM
  139. default "qemu-microblaze-s3adsp1800" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  140. default "qemu-microblaze-ml605" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605
  141. default "qemu-arm-versatilepb" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  142. default "qemu-arm-vexpress-a9" if ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9
  143. default "qemu-arm-spitz" if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  144. default "qemu-mips" if ADK_TARGET_SYSTEM_QEMU_MIPS
  145. default "qemu-mipsel" if ADK_TARGET_SYSTEM_QEMU_MIPSEL
  146. default "qemu-mips64" if ADK_TARGET_SYSTEM_QEMU_MIPS64 || ADK_TARGET_SYSTEM_QEMU_MIPS64N32 || ADK_TARGET_SYSTEM_QEMU_MIPS64N64
  147. default "qemu-mips64el" if ADK_TARGET_SYSTEM_QEMU_MIPS64EL || ADK_TARGET_SYSTEM_QEMU_MIPS64ELN32 || ADK_TARGET_SYSTEM_QEMU_MIPS64ELN64
  148. default "qemu-ppc" if ADK_TARGET_SYSTEM_QEMU_PPC
  149. default "qemu-ppc64" if ADK_TARGET_SYSTEM_QEMU_PPC64
  150. default "qemu-sh" if ADK_TARGET_SYSTEM_QEMU_SH4
  151. default "qemu-sh" if ADK_TARGET_SYSTEM_QEMU_SH4EB
  152. default "qemu-sparc" if ADK_TARGET_SYSTEM_QEMU_SPARC
  153. default "qemu-sparc64" if ADK_TARGET_SYSTEM_QEMU_SPARC64
  154. default "qemu-x86" if ADK_TARGET_SYSTEM_QEMU_I686 || ADK_TARGET_SYSTEM_QEMU_I486
  155. default "qemu-x86_64" if ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86_64_32 || ADK_TARGET_SYSTEM_QEMU_X86_64_X32
  156. default "aranym-m68k" if ADK_TARGET_SYSTEM_ARANYM_M68K
  157. default "ibm-x40" if ADK_TARGET_SYSTEM_IBM_X40
  158. default "cubox-i" if ADK_TARGET_SYSTEM_CUBOX_I
  159. default "raspberry-pi" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  160. default "sharp-zaurus" if ADK_TARGET_SYSTEM_SHARP_ZAURUS
  161. default "lemote-yeelong" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  162. default "generic-pc" if ADK_TARGET_SYSTEM_GENERIC_PC
  163. choice
  164. prompt "Cubox-i model"
  165. depends on ADK_TARGET_SYSTEM_CUBOX_I
  166. config ADK_TARGET_CUBOX_I4PRO
  167. boolean "Solidrun Cubox-i4Pro"
  168. config ADK_TARGET_CUBOX_I2ULTRA
  169. boolean "Solidrun Cubox-i2Ultra"
  170. config ADK_TARGET_CUBOX_I2
  171. boolean "Solidrun Cubox-i2"
  172. config ADK_TARGET_CUBOX_I1
  173. boolean "Solidrun Cubox-i1"
  174. endchoice
  175. # global symbols
  176. config ADK_TARGET_KERNEL_64
  177. boolean
  178. config ADK_TOOLCHAIN_ONLY
  179. boolean
  180. config ADK_LINUX_64
  181. boolean
  182. config ADK_HARDWARE_QEMU
  183. boolean
  184. config ADK_HARDWARE_VBOX
  185. boolean
  186. # the inverse of ADK_TARGET_KERNEL_CUSTOMISING,
  187. # allows for selecting it off (i.e., to disable it)
  188. config ADK_TARGET_FIXED_KERNEL
  189. bool
  190. default n
  191. config ADK_TARGET_KERNEL_CUSTOMISING
  192. bool
  193. default y
  194. depends on !ADK_TARGET_FIXED_KERNEL
  195. # cpu features
  196. config ADK_TARGET_CPU_WITH_VT
  197. boolean
  198. config ADK_TARGET_CPU_WITH_MTRR
  199. boolean
  200. config ADK_TARGET_CPU_WITH_MMX
  201. boolean
  202. config ADK_TARGET_CPU_WITH_MMXEXT
  203. boolean
  204. config ADK_TARGET_CPU_WITH_SSE
  205. boolean
  206. config ADK_TARGET_CPU_WITH_SSE2
  207. boolean
  208. config ADK_TARGET_CPU_WITH_SSE3
  209. boolean
  210. config ADK_TARGET_CPU_WITH_SSSE3
  211. boolean
  212. config ADK_TARGET_CPU_WITH_IWMMXT
  213. boolean
  214. # hyper threading
  215. config ADK_TARGET_CPU_WITH_HT
  216. boolean
  217. config ADK_TARGET_CPU_WITH_3DNOW
  218. boolean
  219. config ADK_TARGET_CPU_WITH_3DNOWEXT
  220. boolean
  221. # cpu configuration
  222. config ADK_CPU_SH4
  223. boolean
  224. config ADK_CPU_SPARC_V8
  225. boolean
  226. config ADK_CPU_SPARC_V9
  227. boolean
  228. config ADK_CPU_I486
  229. boolean
  230. config ADK_CPU_I586
  231. boolean
  232. config ADK_CPU_I686
  233. boolean
  234. config ADK_CPU_X86_64
  235. boolean
  236. config ADK_CPU_GEODE
  237. boolean
  238. config ADK_CPU_PPC
  239. boolean
  240. config ADK_CPU_PPC64
  241. boolean
  242. config ADK_CPU_PENTIUM_M
  243. boolean
  244. config ADK_CPU_ATOM
  245. boolean
  246. config ADK_CPU_AMDFAM10
  247. select ADK_TARGET_CPU_WITH_VT
  248. boolean
  249. config ADK_CPU_LOONGSON2F
  250. boolean
  251. config ADK_CPU_XSCALE
  252. boolean
  253. config ADK_CPU_M68K
  254. boolean
  255. config ADK_CPU_MIPS32
  256. boolean
  257. config ADK_CPU_MIPS64
  258. boolean
  259. config ADK_CPU_MICROBLAZE
  260. boolean
  261. config ADK_CPU_ARM926EJ_S
  262. boolean
  263. config ADK_CPU_ARM1176JZF_S
  264. boolean
  265. config ADK_CPU_CORTEX_A9
  266. boolean
  267. config ADK_CPU_ARMV8
  268. boolean
  269. config ADK_TARGET_CPU_ARCH
  270. string
  271. default "x86_64" if ADK_CPU_X86_64
  272. default "x86_64" if ADK_CPU_AMDFAM10
  273. default "i486" if ADK_CPU_I486
  274. default "i586" if ADK_CPU_I586
  275. default "i686" if ADK_CPU_I686
  276. default "i586" if ADK_CPU_GEODE
  277. default "i686" if ADK_CPU_PENTIUM_M
  278. default "i686" if ADK_CPU_ATOM
  279. default "m68k" if ADK_LINUX_M68K
  280. default "microblaze" if ADK_LINUX_MICROBLAZE && ADK_big
  281. default "microblazeel" if ADK_LINUX_MICROBLAZE && ADK_little
  282. default "mips64" if ADK_LINUX_MIPS && ADK_big && ADK_LINUX_64
  283. default "mips64el" if ADK_LINUX_MIPS && ADK_little && ADK_LINUX_64
  284. default "mips" if ADK_LINUX_MIPS && ADK_big
  285. default "mipsel" if ADK_LINUX_MIPS && ADK_little
  286. default "aarch64" if ADK_LINUX_AARCH64 && ADK_little
  287. default "arm" if ADK_LINUX_ARM && ADK_little
  288. default "sparc" if ADK_LINUX_SPARC
  289. default "sparc64" if ADK_LINUX_SPARC64
  290. default "sh4" if ADK_LINUX_SH && ADK_little
  291. default "sh4eb" if ADK_LINUX_SH && ADK_big
  292. default "ppc" if ADK_CPU_PPC
  293. default "ppc64" if ADK_CPU_PPC64
  294. default "mips64el" if ADK_native && ADK_lemote_yeelong
  295. config ADK_TARGET_ABI_CFLAGS
  296. string
  297. default "-mabi=32" if ADK_o32
  298. default "-mabi=n32" if ADK_n32
  299. default "-mabi=64" if ADK_n64
  300. default "-m32" if ADK_32
  301. default "-mx32" if ADK_x32
  302. default "-m64" if ADK_64
  303. config ADK_TARGET_CFLAGS
  304. string
  305. default "-m4 -ml" if ADK_CPU_SH4 && ADK_little
  306. default "-m4 -mb" if ADK_CPU_SH4 && ADK_big
  307. default "-march=geode" if ADK_CPU_GEODE
  308. default "-march=i486" if ADK_CPU_I486
  309. default "-march=i586" if ADK_CPU_I586
  310. default "-march=i686" if ADK_CPU_I686
  311. default "-march=pentium-m" if ADK_CPU_PENTIUM_M
  312. default "-march=atom" if ADK_CPU_ATOM
  313. default "-march=amdfam10" if ADK_CPU_AMDFAM10
  314. default "-mcpu=v8" if ADK_CPU_SPARC_V8
  315. default "-m64 -mcpu=ultrasparc" if ADK_CPU_SPARC_V9
  316. default "-march=loongson2f -Wa,-mfix-loongson2f-nop" if ADK_CPU_LOONGSON2F
  317. default "-march=mips32" if ADK_CPU_MIPS32
  318. default "-march=mips64" if ADK_CPU_MIPS64
  319. default "-march=armv8-a" if ADK_CPU_ARMV8
  320. default "-march=armv5te -mtune=iwmmxt" if ADK_CPU_XSCALE
  321. default "-march=armv5te -mtune=arm926ej-s -mfloat-abi=soft" if ADK_CPU_ARM926EJ_S && ADK_soft_float
  322. default "-march=armv5te -mtune=arm926ej-s -mfloat-abi=hard" if ADK_CPU_ARM926EJ_S && ADK_hard_float
  323. default "-march=armv6 -mtune=arm1176jzf-s -mfloat-abi=soft" if ADK_CPU_ARM1176JZF_S && ADK_soft_float
  324. default "-march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard" if ADK_CPU_ARM1176JZF_S && ADK_hard_float
  325. default "-march=armv7-a -mtune=cortex-a9 -mfloat-abi=soft" if ADK_CPU_CORTEX_A9 && ADK_soft_float
  326. default "-march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard" if ADK_CPU_CORTEX_A9 && ADK_hard_float
  327. config ADK_TARGET_CMDLINE
  328. string
  329. default "dwc_otg.fiq_split_enable=1" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  330. default "console=ttymxc0,115200 console=tty0" if ADK_TARGET_SYSTEM_CUBOX_I
  331. default "console=tty0" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  332. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_IBM_X40
  333. default "console=ttyS0,115200 console=tty0 fbcon=rotate:1" if ADK_TARGET_SYSTEM_SHARP_ZAURUS
  334. default "console=ttyS0,9600" if ADK_TARGET_SYSTEM_FON_FON2100
  335. default "console=ttyS0,38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  336. default "console=ttyS0,115200 console=tty0 geodewdt.nowayout=1" if ADK_TARGET_SYSTEM_PCENGINES_ALIX1C
  337. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_VBOX_I686
  338. default "console=tty0" if ADK_TARGET_SYSTEM_ARANYM_M68K
  339. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_QEMU_I686
  340. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_QEMU_X86_64
  341. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_QEMU_SPARC64
  342. default "console=ttyS0,9600" if ADK_TARGET_SYSTEM_QEMU_PPC
  343. default "console=hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  344. default "console=ttyUL0" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  345. default "console=ttyS0,115200" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605
  346. default "console=ttyS0,115200" if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  347. default "console=ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  348. default "console=ttyAMA0" if ADK_TARGET_QEMU_ARM_MODEL_VEXPRESS_A9
  349. default "console=ttyAMA0" if ADK_TARGET_SYSTEM_ARM_FM
  350. default "console=ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH4
  351. default "console=ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH4EB
  352. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_PCENGINES_ALIX2D13
  353. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_PCENGINES_ALIX2D2
  354. default ""
  355. # c library
  356. config ADK_uclibc
  357. boolean
  358. config ADK_glibc
  359. boolean
  360. config ADK_musl
  361. boolean
  362. config ADK_TARGET_LIBC
  363. string
  364. default "uclibc" if ADK_uclibc
  365. default "glibc" if ADK_glibc
  366. default "musl" if ADK_musl
  367. choice
  368. prompt "Target C library"
  369. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  370. config ADK_TARGET_LIB_UCLIBC
  371. prompt "uClibc embedded C library"
  372. boolean
  373. select ADK_uclibc
  374. depends on \
  375. !ADK_LINUX_AARCH64 && \
  376. !ADK_LINUX_M68K && \
  377. !ADK_LINUX_MICROBLAZE && \
  378. !ADK_LINUX_SPARC64 && \
  379. !ADK_LINUX_PPC64 && \
  380. !ADK_x32 && \
  381. !ADK_32
  382. help
  383. http://uclibc.org
  384. config ADK_TARGET_LIB_GLIBC
  385. prompt "GNU C library"
  386. boolean
  387. select ADK_glibc
  388. depends on \
  389. ADK_LINUX_AARCH64 || \
  390. ADK_LINUX_ARM || \
  391. ADK_LINUX_M68K || \
  392. ADK_LINUX_MICROBLAZE || \
  393. ADK_LINUX_MIPS || \
  394. ADK_LINUX_PPC || \
  395. ADK_LINUX_PPC64 || \
  396. ADK_LINUX_SH || \
  397. ADK_LINUX_SPARC || \
  398. ADK_LINUX_SPARC64 || \
  399. ADK_LINUX_X86 || \
  400. ADK_LINUX_X86_64
  401. help
  402. http://www.gnu.org/libc
  403. config ADK_TARGET_LIB_MUSL
  404. prompt "musl C library"
  405. boolean
  406. select ADK_musl
  407. depends on !ADK_LINUX_MIPS64
  408. depends on \
  409. ADK_LINUX_ARM || \
  410. ADK_LINUX_MICROBLAZE || \
  411. ADK_LINUX_MIPS || \
  412. ADK_LINUX_PPC || \
  413. ADK_LINUX_SH || \
  414. ADK_LINUX_X86 || \
  415. ADK_LINUX_X86_64
  416. help
  417. http://musl-libc.org
  418. endchoice
  419. config ADK_TARGET_SUFFIX
  420. string
  421. default "gnueabihf" if ADK_TARGET_LIB_GLIBC && ADK_eabihf
  422. default "gnueabi" if ADK_TARGET_LIB_GLIBC && ADK_eabi
  423. default "gnuabi64" if ADK_TARGET_LIB_GLIBC && ADK_n64
  424. default "gnuabin32" if ADK_TARGET_LIB_GLIBC && ADK_n32
  425. default "gnuabi32" if ADK_TARGET_LIB_GLIBC && ADK_o32
  426. default "gnu32" if ADK_TARGET_LIB_GLIBC && ADK_32 && ADK_LINUX_64
  427. default "gnux32" if ADK_TARGET_LIB_GLIBC && ADK_x32 && ADK_LINUX_64
  428. default "gnu" if ADK_TARGET_LIB_GLIBC
  429. default "uclibcgnueabihf" if ADK_TARGET_LIB_UCLIBC && ADK_eabihf
  430. default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_eabi
  431. default "uclibcabi64" if ADK_TARGET_LIB_UCLIBC && ADK_n64
  432. default "uclibcabin32" if ADK_TARGET_LIB_UCLIBC && ADK_n32
  433. default "uclibcabi32" if ADK_TARGET_LIB_UCLIBC && ADK_o32
  434. default "uclibc32" if ADK_TARGET_LIB_UCLIBC && ADK_32 && ADK_LINUX_64
  435. default "uclibcx32" if ADK_TARGET_LIB_UCLIBC && ADK_x32 && ADK_LINUX_64
  436. default "uclibc" if ADK_TARGET_LIB_UCLIBC
  437. default "muslgnueabihf" if ADK_TARGET_LIB_MUSL && ADK_eabihf
  438. default "muslgnueabi" if ADK_TARGET_LIB_MUSL && ADK_eabi
  439. default "muslabi64" if ADK_TARGET_LIB_MUSL && ADK_n64
  440. default "muslabin32" if ADK_TARGET_LIB_MUSL && ADK_n32
  441. default "muslabi32" if ADK_TARGET_LIB_MUSL && ADK_o32
  442. default "musl32" if ADK_TARGET_LIB_MUSL && ADK_32 && ADK_LINUX_64
  443. default "muslx32" if ADK_TARGET_LIB_MUSL && ADK_x32 && ADK_LINUX_64
  444. default "musl" if ADK_TARGET_LIB_MUSL
  445. choice
  446. prompt "Target firmware type"
  447. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH && !ADK_TOOLCHAIN
  448. default ADK_TARGET_ROOTFS_ARCHIVE
  449. config ADK_TARGET_ROOTFS_INITRAMFS
  450. bool "initramfs filesystem"
  451. depends on \
  452. ADK_HARDWARE_QEMU || \
  453. ADK_LINUX_M68K || \
  454. ADK_LINUX_ARM || \
  455. ADK_LINUX_MICROBLAZE || \
  456. ADK_LINUX_MIPS || \
  457. ADK_LINUX_PPC || \
  458. ADK_LINUX_SPARC || \
  459. ADK_LINUX_X86 || \
  460. ADK_LINUX_X86_64 || \
  461. ADK_LINUX_NATIVE
  462. depends on !ADK_HARDWARE_VBOX
  463. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  464. select ADK_KERNEL_BLK_DEV_INITRD
  465. help
  466. create an read-only initramfs system.
  467. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  468. bool "initramfs filesystem included into kernel image"
  469. select ADK_LINUX_INITRAMFS_BUILTIN
  470. depends on \
  471. ADK_HARDWARE_QEMU || \
  472. ADK_LINUX_AARCH64 || \
  473. ADK_LINUX_ARM || \
  474. ADK_LINUX_M68K || \
  475. ADK_LINUX_MICROBLAZE || \
  476. ADK_LINUX_MIPS || \
  477. ADK_LINUX_PPC || \
  478. ADK_LINUX_SPARC || \
  479. ADK_LINUX_X86 || \
  480. ADK_LINUX_X86_64
  481. depends on !ADK_HARDWARE_VBOX
  482. select ADK_KERNEL_EXT2_FS
  483. help
  484. create an read-only initramfs system.
  485. config ADK_TARGET_ROOTFS_SQUASHFS
  486. bool "Compressed read-only root filesystem (squashfs)"
  487. select ADK_KERNEL_SQUASHFS
  488. select ADK_HOST_NEED_SQUASHFS
  489. select ADK_HOST_NEED_QEMU if ADK_HARDWARE_QEMU
  490. select ADK_TARGET_QEMU_WITH_BLOCK if ADK_HARDWARE_QEMU
  491. depends on ADK_TARGET_WITH_MTD
  492. help
  493. highly compressed read-only filesystem for MTD flash systems.
  494. config ADK_TARGET_ROOTFS_JFFS2
  495. bool "Compressed read-write root filesystem (jffs2)"
  496. select ADK_KERNEL_JFFS2_FS
  497. select ADK_HOST_NEED_MTD_UTILS
  498. select ADK_TARGET_QEMU_WITH_BLOCK if ADK_HARDWARE_QEMU
  499. depends on ADK_TARGET_WITH_MTD
  500. help
  501. compressed read-write filesystem for MTD flash systems.
  502. config ADK_TARGET_ROOTFS_YAFFS
  503. bool "YAFFS2 root filesystem (NAND)"
  504. select ADK_KERNEL_MISC_FILESYSTEMS
  505. select ADK_KERNEL_YAFFS_FS
  506. select ADK_KERNEL_YAFFS_YAFFS2
  507. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  508. depends on ADK_TARGET_WITH_NAND
  509. help
  510. Root filesystem on NAND flash with YAFFS2.
  511. config ADK_TARGET_ROOTFS_NFSROOT
  512. bool "NFS root"
  513. select ADK_KERNEL_NETWORK_FILESYSTEMS
  514. select ADK_KERNEL_SUNRPC
  515. select ADK_KERNEL_NFS_FS
  516. select ADK_KERNEL_NFS_V3
  517. select ADK_KERNEL_ROOT_NFS
  518. select ADK_KERNEL_NFS_COMMON
  519. select ADK_KERNEL_IP_PNP
  520. select ADK_KERNEL_IP_PNP_DHCP
  521. depends on !ADK_HARDWARE_QEMU && !ADK_HARDWARE_VBOX && !ADK_TARGET_SYSTEM_ARANYM_M68K
  522. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  523. depends on !ADK_TARGET_SYSTEM_ARM_FM
  524. help
  525. Root filesystem mounted via NFS. (DHCP)
  526. config ADK_TARGET_ROOTFS_USB
  527. bool "Boot from USB stick"
  528. select ADK_KERNEL_NLS
  529. select ADK_KERNEL_SCSI
  530. select ADK_KERNEL_BLK_DEV_SD
  531. select ADK_KERNEL_USB
  532. select ADK_KERNEL_USB_EHCI_HCD
  533. select ADK_KERNEL_USB_OHCI_HCD
  534. select ADK_KERNEL_USB_UHCI_HCD
  535. select ADK_KERNEL_USB_STORAGE
  536. select ADK_KERNEL_EXT2_FS
  537. depends on ADK_TARGET_WITH_USB_BOOT
  538. help
  539. Boot system from USB stick.
  540. config ADK_TARGET_ROOTFS_ISO
  541. bool "ISO image"
  542. select ADK_KERNEL_ISO9660_FS
  543. select ADK_KERNEL_JOLIET
  544. select ADK_KERNEL_SCSI
  545. select ADK_KERNEL_BLK_DEV_SR
  546. select ADK_HOST_NEED_CDRTOOLS
  547. select ADK_HOST_NEED_SYSLINUX
  548. select ADK_TARGET_QEMU_WITH_BLOCK if ADK_HARDWARE_QEMU
  549. depends on ADK_HOST_LINUX
  550. depends on ADK_LINUX_X86
  551. help
  552. Use this option to create a bootable ISO image.
  553. config ADK_TARGET_ROOTFS_INITRAMFSARCHIVE
  554. bool "Archive usable for initramfs creation"
  555. help
  556. Use this option if your planning to create a initramfs,
  557. useful for adk-test-framework.
  558. config ADK_TARGET_ROOTFS_ARCHIVE
  559. bool "Archive usable for different filesystems"
  560. select ADK_HOST_NEED_GENEXT2FS if ADK_HARDWARE_QEMU
  561. select ADK_KERNEL_EXT2_FS if ADK_HARDWARE_QEMU
  562. select ADK_TARGET_QEMU_WITH_BLOCK if ADK_HARDWARE_QEMU
  563. help
  564. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  565. endchoice
  566. config ADK_TARGET_ROOT_EXT4_RASPBERRY_PI
  567. boolean
  568. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI && ADK_TARGET_ROOTFS_ARCHIVE
  569. select ADK_KERNEL_EXT4_FS
  570. default y
  571. help
  572. Compile EXT4 filesystem into kernel and use it as root filesystem.
  573. choice
  574. prompt "Root filesystem type"
  575. depends on ADK_TARGET_ROOTFS_ARCHIVE && !ADK_TARGET_SYSTEM_RASPBERRY_PI && !ADK_HARDWARE_QEMU
  576. default ADK_TARGET_ROOT_EXT4
  577. config ADK_TARGET_ROOT_EXT4
  578. boolean
  579. prompt "EXT4 filesystem"
  580. select ADK_KERNEL_EXT4_FS
  581. help
  582. Compile EXT4 filesystem into kernel and use it as root filesystem.
  583. config ADK_TARGET_ROOT_XFS
  584. boolean
  585. prompt "XFS filesystem"
  586. select ADK_KERNEL_XFS_FS
  587. help
  588. Compile XFS filesystem into kernel and use it as root filesystem.
  589. config ADK_TARGET_ROOT_EXT2
  590. boolean
  591. prompt "EXT2 filesystem"
  592. select ADK_KERNEL_EXT2_FS
  593. help
  594. Compile EXT2 filesystem into kernel and use it as root filesystem.
  595. config ADK_TARGET_ROOT_EXT3
  596. boolean
  597. prompt "EXT3 filesystem"
  598. select ADK_KERNEL_EXT3_FS
  599. help
  600. Compile EXT3 filesystem into kernel and use it as root filesystem.
  601. endchoice
  602. config ADK_TARGET_ROOTFS
  603. string
  604. default "xfs" if ADK_TARGET_ROOT_XFS
  605. default "ext2" if ADK_TARGET_ROOT_EXT2
  606. default "ext3" if ADK_TARGET_ROOT_EXT3
  607. default "ext4" if ADK_TARGET_ROOT_EXT4
  608. help
  609. config ADK_PACKAGE_SUFFIX
  610. string
  611. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  612. default "tar.xz" if ADK_TARGET_PACKAGE_TXZ
  613. help
  614. choice
  615. prompt "Target package format"
  616. default ADK_TARGET_PACKAGE_TXZ if ADK_PKG_TEST
  617. default ADK_TARGET_PACKAGE_IPKG
  618. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  619. config ADK_TARGET_PACKAGE_IPKG
  620. boolean
  621. prompt "ipkg"
  622. select BUSYBOX_IPKG
  623. help
  624. Create ipkg packages and use ipkg package management on the target.
  625. config ADK_TARGET_PACKAGE_TXZ
  626. boolean
  627. prompt "xz compressed tar archive"
  628. help
  629. Create compressed tar archives of packages.
  630. Pre- and post install scripts will be executed in the target
  631. directory. There will be no package manager installed onto the target.
  632. endchoice
  633. source "target/config/Config.in.tools"