Config.in 20 KB

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