Config.in 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  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_big
  4. boolean
  5. config ADK_little
  6. boolean
  7. config ADK_TARGET_ENDIAN
  8. string
  9. default "little" if ADK_little
  10. default "big" if ADK_big
  11. config ADK_TOOLCHAIN
  12. boolean
  13. source "target/config/Config.in.arch"
  14. source "target/config/Config.in.system"
  15. choice
  16. prompt "Toolchain options"
  17. depends on ADK_TOOLCHAIN
  18. config ADK_TOOLCHAIN_ONLY
  19. boolean "Only build toolchain and selected packages"
  20. config ADK_TOOLCHAIN_ARCHIVE
  21. boolean "Build a complete system usable f.e. via chroot"
  22. endchoice
  23. choice
  24. prompt "Target Kernel"
  25. depends on ADK_TARGET_SYSTEM_LEMOTE_YEELONG \
  26. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  27. || ADK_TARGET_SYSTEM_QEMU_MIPS64EL \
  28. || ADK_LINUX_X86_64
  29. config ADK_TARGET_KERNEL64
  30. boolean "64 Bit Kernel"
  31. config ADK_TARGET_KERNEL32
  32. boolean "32 Bit Kernel"
  33. endchoice
  34. config ADK_32
  35. boolean
  36. config ADK_64
  37. boolean
  38. config ADK_x32
  39. boolean
  40. config ADK_o32
  41. boolean
  42. config ADK_n32
  43. boolean
  44. config ADK_n64
  45. boolean
  46. config ADK_TARGET_ABI
  47. string
  48. default "32" if ADK_o32
  49. default "n32" if ADK_n32
  50. default "64" if ADK_n64
  51. choice
  52. prompt "Target ABI"
  53. depends on ADK_TARGET_KERNEL64 && ADK_LINUX_MIPS
  54. config ADK_TARGET_ABI_N32
  55. boolean "N32 ABI (new)"
  56. select ADK_n32
  57. config ADK_TARGET_ABI_O32
  58. boolean "O32 ABI (old)"
  59. select ADK_o32
  60. config ADK_TARGET_ABI_N64
  61. boolean "N64 ABI"
  62. select ADK_n64
  63. endchoice
  64. choice
  65. prompt "Target ABI"
  66. depends on ADK_TARGET_KERNEL64 && ADK_LINUX_X86_64
  67. config ADK_TARGET_ABI_64
  68. boolean "64 Bit ABI"
  69. select ADK_64
  70. select ADK_TARGET_MULTILIB_X86_64 if ADK_TARGET_WITH_MULTILIB
  71. config ADK_TARGET_ABI_X32
  72. boolean "x32 ABI (new)"
  73. select ADK_x32
  74. select ADK_TARGET_MULTILIB_X86_X32 if ADK_TARGET_WITH_MULTILIB
  75. config ADK_TARGET_ABI_32
  76. boolean "32 Bit ABI"
  77. select ADK_32
  78. select ADK_TARGET_MULTILIB_X86_32 if ADK_TARGET_WITH_MULTILIB
  79. endchoice
  80. # multilib support
  81. config ADK_TARGET_LIBC_PATH
  82. string
  83. default "lib32" if ADK_n32
  84. default "lib64" if ADK_n64 \
  85. || ADK_64 \
  86. || ADK_LINUX_SPARC64 \
  87. || ADK_LINUX_PPC64 \
  88. || ADK_LINUX_X86_64
  89. default "libx32" if ADK_x32
  90. default "lib"
  91. menu "Target multilib support"
  92. depends on ADK_TARGET_DISABLED && \
  93. ( ADK_LINUX_X86_64 || ADK_LINUX_MIPS ) && \
  94. ( ADK_TARGET_LIB_EGLIBC || ADK_TARGET_LIB_GLIBC )
  95. config ADK_TARGET_WITH_MULTILIB
  96. boolean "multilib support"
  97. config ADK_TARGET_MULTILIB_MIPS_64
  98. boolean "64 bit libraries (n64 abi)"
  99. depends on ADK_LINUX_MIPS && ADK_TARGET_WITH_MULTILIB
  100. default y if ADK_n64
  101. config ADK_TARGET_MULTILIB_MIPS_N32
  102. boolean "32 bit libraries (n32 abi)"
  103. depends on ADK_LINUX_MIPS && ADK_TARGET_WITH_MULTILIB
  104. default y if ADK_n32
  105. config ADK_TARGET_MULTILIB_MIPS_O32
  106. boolean "32 bit libraries (o32 abi)"
  107. depends on ADK_LINUX_MIPS && ADK_TARGET_WITH_MULTILIB
  108. default y if ADK_o32
  109. config ADK_TARGET_MULTILIB_X86_64
  110. boolean "64 bit libraries"
  111. depends on ADK_LINUX_X86_64 && ADK_TARGET_WITH_MULTILIB
  112. default y if ADK_64
  113. config ADK_TARGET_MULTILIB_X86_32
  114. boolean "32 bit libraries"
  115. depends on ADK_LINUX_X86_64 && ADK_TARGET_WITH_MULTILIB
  116. default y if ADK_32
  117. config ADK_TARGET_MULTILIB_X86_X32
  118. boolean "x32 bit libraries"
  119. depends on ADK_LINUX_X86_64 && ADK_TARGET_WITH_MULTILIB
  120. default y if ADK_x32
  121. config ADK_MULTILIB_TARGET
  122. string
  123. default "m32" if ADK_TARGET_MULTILIB_X86_32 \
  124. && !ADK_TARGET_MULTILIB_X86_64 \
  125. && !ADK_TARGET_MULTILIB_X86_X32
  126. default "m64" if !ADK_TARGET_MULTILIB_X86_32 \
  127. && ADK_TARGET_MULTILIB_X86_64 \
  128. && !ADK_TARGET_MULTILIB_X86_X32
  129. default "x32" if !ADK_TARGET_MULTILIB_X86_32 \
  130. && !ADK_TARGET_MULTILIB_X86_64 \
  131. && ADK_TARGET_MULTILIB_X86_X32
  132. default "m32,m64" if ADK_TARGET_MULTILIB_X86_32 \
  133. && ADK_TARGET_MULTILIB_X86_64 \
  134. && !ADK_TARGET_MULTILIB_X86_X32
  135. default "mx32,m64" if !ADK_TARGET_MULTILIB_X86_32 \
  136. && ADK_TARGET_MULTILIB_X86_64 \
  137. && ADK_TARGET_MULTILIB_X86_X32
  138. default "m32,mx32" if ADK_TARGET_MULTILIB_X86_32 \
  139. && !ADK_TARGET_MULTILIB_X86_64 \
  140. && ADK_TARGET_MULTILIB_X86_X32
  141. default "m64,m32,mx32" if ADK_TARGET_MULTILIB_X86_32 \
  142. && ADK_TARGET_MULTILIB_X86_64 \
  143. && ADK_TARGET_MULTILIB_X86_X32
  144. endmenu
  145. # submodel support
  146. #
  147. choice
  148. prompt "Qemu ARM Emulation"
  149. depends on ADK_TARGET_SYSTEM_QEMU_ARM
  150. config ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  151. boolean "Xscale PXA270 Spitz PDA"
  152. select ADK_KERNEL_ARCH_PXA
  153. select ADK_KERNEL_PXA_SHARPSL
  154. select ADK_KERNEL_MACH_SPITZ
  155. select ADK_KERNEL_SPI_PXA2XX
  156. select ADK_TARGET_WITH_VGA
  157. config ADK_TARGET_QEMU_ARM_MODEL_VERSATILE
  158. boolean "ARM Ltd. Versatile"
  159. select ADK_KERNEL_ARCH_VERSATILE
  160. select ADK_KERNEL_PCI
  161. select ADK_KERNEL_BLOCK
  162. select ADK_KERNEL_SCSI
  163. select ADK_KERNEL_BLK_DEV_SD
  164. select ADK_KERNEL_SCSI_SYM53C8XX_2
  165. endchoice
  166. choice
  167. prompt "Foxboard LX Model"
  168. depends on ADK_TARGET_SYSTEM_FOXBOARD_LX
  169. config ADK_TARGET_FOXBOARD_MODEL_LX416
  170. boolean "Foxboard LX 4x16"
  171. config ADK_TARGET_FOXBOARD_MODEL_LX832
  172. boolean "Foxboard LX 8x32"
  173. endchoice
  174. choice
  175. prompt "Broadcom BCM47xx Model"
  176. depends on ADK_TARGET_SYSTEM_BROADCOM_BCM47XX
  177. config ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54G
  178. boolean "Linksys WRT54g"
  179. config ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54GS
  180. boolean "Linksys WRT54gs"
  181. config ADK_TARGET_BROADCOM_MODEL_ASUS_WL500GP
  182. boolean "Asus WL500gP"
  183. endchoice
  184. if ADK_LINUX_NATIVE
  185. source "target/config/Config.in.native"
  186. endif
  187. # hardware features
  188. config ADK_TARGET_WITH_USB
  189. boolean
  190. config ADK_TARGET_WITH_PCI
  191. boolean
  192. config ADK_TARGET_WITH_SSB
  193. boolean
  194. config ADK_TARGET_WITH_AHB
  195. boolean
  196. config ADK_TARGET_WITH_MINIPCI
  197. boolean
  198. config ADK_TARGET_WITH_ACPI
  199. boolean
  200. config ADK_TARGET_WITH_VGA
  201. boolean
  202. config ADK_TARGET_WITH_CF
  203. boolean
  204. config ADK_TARGET_WITH_MMC
  205. boolean
  206. config ADK_TARGET_WITH_NAND
  207. boolean
  208. config ADK_TARGET_WITH_MTD
  209. boolean
  210. config ADK_TARGET_WITH_GEODE_CRYPTO
  211. boolean
  212. config ADK_TARGET_WITH_HDD
  213. boolean
  214. config ADK_TARGET_WITH_SATA
  215. boolean
  216. config ADK_TARGET_WITH_INPUT
  217. boolean
  218. config ADK_TARGET_WITH_SOUND
  219. boolean
  220. config ADK_TARGET_WITH_TOUCHSCREEN
  221. boolean
  222. config ADK_TARGET_WITH_LEDS
  223. boolean
  224. config ADK_TARGET_WITH_PP
  225. boolean
  226. config ADK_TARGET_WITH_CARDBUS
  227. boolean
  228. config ADK_TARGET_WITH_PCMCIA
  229. boolean
  230. config ADK_TARGET_WITH_RTC
  231. boolean
  232. config ADK_TARGET_WITH_WATCHDOG
  233. boolean
  234. config ADK_TARGET_WITH_DSL
  235. boolean
  236. config ADK_TARGET_WITH_USB_BOOT
  237. boolean
  238. config ADK_TARGET_KERNEL_MAY_64BIT
  239. boolean
  240. # global symbols
  241. config ADK_TOOLCHAIN_ONLY
  242. boolean
  243. config ADK_TARGET_NO_FPU
  244. boolean
  245. config ADK_EABI
  246. boolean
  247. config ADK_EABIHF
  248. boolean
  249. config ADK_LINUX_64
  250. boolean
  251. config ADK_HARDWARE_QEMU
  252. boolean
  253. config ADK_HARDWARE_VBOX
  254. boolean
  255. config ADK_NATIVE
  256. boolean
  257. # the inverse of ADK_TARGET_KERNEL_CUSTOMISING,
  258. # allows for selecting it off (i.e., to disable it)
  259. config ADK_TARGET_FIXED_KERNEL
  260. bool
  261. default n
  262. config ADK_TARGET_KERNEL_CUSTOMISING
  263. bool
  264. default y
  265. depends on !ADK_TARGET_FIXED_KERNEL
  266. # cpu features
  267. config ADK_TARGET_CPU_WITH_VT
  268. boolean
  269. config ADK_TARGET_CPU_WITH_MTRR
  270. boolean
  271. config ADK_TARGET_CPU_WITH_MMX
  272. boolean
  273. config ADK_TARGET_CPU_WITH_MMXEXT
  274. boolean
  275. config ADK_TARGET_CPU_WITH_SSE
  276. boolean
  277. config ADK_TARGET_CPU_WITH_SSE2
  278. boolean
  279. config ADK_TARGET_CPU_WITH_SSE3
  280. boolean
  281. config ADK_TARGET_CPU_WITH_SSSE3
  282. boolean
  283. config ADK_TARGET_CPU_WITH_IWMMXT
  284. boolean
  285. # hyper threading
  286. config ADK_TARGET_CPU_WITH_HT
  287. boolean
  288. config ADK_TARGET_CPU_WITH_3DNOW
  289. boolean
  290. config ADK_TARGET_CPU_WITH_3DNOWEXT
  291. boolean
  292. # cpu configuration
  293. config ADK_CPU_CRIS_V10
  294. boolean
  295. config ADK_CPU_CRIS_V32
  296. boolean
  297. config ADK_CPU_SH4
  298. boolean
  299. config ADK_CPU_SPARC_V8
  300. boolean
  301. config ADK_CPU_SPARC_V9
  302. boolean
  303. config ADK_CPU_I486
  304. boolean
  305. config ADK_CPU_I586
  306. boolean
  307. config ADK_CPU_I686
  308. boolean
  309. config ADK_CPU_X86_64
  310. boolean
  311. config ADK_CPU_GEODE
  312. boolean
  313. config ADK_CPU_PPC
  314. boolean
  315. config ADK_CPU_PPC64
  316. boolean
  317. config ADK_CPU_PENTIUM_M
  318. boolean
  319. config ADK_CPU_ATOM
  320. boolean
  321. config ADK_CPU_AMDFAM10
  322. select ADK_TARGET_CPU_WITH_VT
  323. boolean
  324. config ADK_CPU_LOONGSON2F
  325. boolean
  326. config ADK_CPU_ARMV5
  327. boolean
  328. config ADK_CPU_XSCALE
  329. boolean
  330. config ADK_CPU_M68K
  331. boolean
  332. config ADK_CPU_MIPS32
  333. boolean
  334. config ADK_CPU_MIPS64
  335. boolean
  336. config ADK_CPU_RASPBERRY_PI
  337. boolean
  338. config ADK_TARGET_CPU_ARCH
  339. string
  340. default "x86_64" if ADK_CPU_X86_64
  341. default "x86_64" if ADK_CPU_AMDFAM10
  342. default "i486" if ADK_CPU_I486
  343. default "i586" if ADK_CPU_I586
  344. default "i686" if ADK_CPU_I686
  345. default "i586" if ADK_CPU_GEODE
  346. default "i686" if ADK_CPU_PENTIUM_M
  347. default "i686" if ADK_CPU_ATOM
  348. default "m68k" if ADK_LINUX_M68K
  349. default "mips64" if ADK_LINUX_MIPS && ADK_big && ADK_TARGET_KERNEL64
  350. default "mips64el" if ADK_LINUX_MIPS && ADK_little && ADK_TARGET_KERNEL64
  351. default "mips" if ADK_LINUX_MIPS && ADK_big
  352. default "mipsel" if ADK_LINUX_MIPS && ADK_little
  353. default "arm" if ADK_LINUX_ARM && ADK_little
  354. default "armeb" if ADK_LINUX_ARM && ADK_big
  355. default "avr32" if ADK_LINUX_AVR32
  356. default "sparc" if ADK_LINUX_SPARC
  357. default "sparc64" if ADK_LINUX_SPARC64
  358. default "sh" if ADK_LINUX_SH
  359. default "cris" if ADK_CPU_CRIS_V10
  360. default "crisv32" if ADK_CPU_CRIS_V32
  361. default "ppc" if ADK_CPU_PPC
  362. default "ppc64" if ADK_CPU_PPC64
  363. default "mips64el" if ADK_native && ADK_lemote_yeelong
  364. config ADK_TARGET_ABI_CFLAGS
  365. string
  366. default "-mabi=32" if ADK_TARGET_ABI_O32
  367. default "-mabi=n32 -Wl,-m -Wl,elf32ltsmipn32" if ADK_TARGET_ABI_N32
  368. default "-mabi=64 -Wl,-m -Wl,elf64ltsmip" if ADK_TARGET_ABI_N64
  369. default "-m32" if ADK_TARGET_ABI_32
  370. default "-mx32" if ADK_TARGET_ABI_X32
  371. default "-m64" if ADK_TARGET_ABI_64
  372. config ADK_TARGET_ABI_LDFLAGS
  373. string
  374. default "-Wl,-m -Wl,elf_i386" if ADK_TARGET_ABI_32
  375. config ADK_TARGET_KERNEL_LDFLAGS
  376. string
  377. default "-mabi=64 -m elf64ltsmip" if ADK_TARGET_ABI_N32
  378. default "-mabi=64 -m elf64ltsmip" if ADK_TARGET_ABI_O32
  379. default "-mabi=64 -m elf64ltsmip" if ADK_TARGET_ABI_N64
  380. config ADK_TARGET_CFLAGS
  381. string
  382. default "-march=geode" if ADK_CPU_GEODE
  383. default "-march=i486" if ADK_CPU_I486
  384. default "-march=i586" if ADK_CPU_I586
  385. default "-march=i686" if ADK_CPU_I686
  386. default "-march=pentium-m" if ADK_CPU_PENTIUM_M
  387. default "-march=atom" if ADK_CPU_ATOM
  388. default "-march=amdfam10" if ADK_CPU_AMDFAM10
  389. default "-mcpu=v8" if ADK_CPU_SPARC_V8
  390. default "-m64 -mcpu=v9" if ADK_CPU_SPARC_V9
  391. default "-march=loongson2f -Wa,-mfix-loongson2f-nop" if ADK_CPU_LOONGSON2F
  392. default "-march=mips32" if ADK_CPU_MIPS32
  393. default "-march=mips64" if ADK_CPU_MIPS64
  394. default "-march=armv5te -mtune=arm926ej-s" if ADK_CPU_ARMV5
  395. default "-march=v32" if ADK_CPU_CRIS_V32
  396. default "-march=v10" if ADK_CPU_CRIS_V10
  397. default "-march=armv5te -mtune=iwmmxt" if ADK_CPU_XSCALE
  398. default "-march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard" if ADK_CPU_RASPBERRY_PI
  399. config ADK_TARGET_CMDLINE
  400. string
  401. default "rootfstype=ext4 root=/dev/mmcblk0p2 rootwait" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  402. default "console=tty no_auto_cmd" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  403. default "console=ttyS0,9600" if ADK_TARGET_SYSTEM_FON_FON2100
  404. default "console=ttyS0,38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  405. default "console=ttyS0,115200 console=tty0 geodewdt.nowayout=1" if ADK_TARGET_SYSTEM_PCENGINES_ALIX1C
  406. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_IBM_X40
  407. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_INTEL_ATOM
  408. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_QEMU_I686
  409. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_VBOX_I686
  410. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
  411. default "console=ttyAMA0 console=tty0" if ADK_TARGET_QEMU_ARM_MODEL_VERSATILE
  412. default "console=ttyS0,115200 console=tty0 fbcon=rotate:1" if ADK_TARGET_SYSTEM_SHARP_ZAURUS
  413. default "console=tty0" if ADK_TARGET_SYSTEM_QEMU_SH
  414. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_PCENGINES_ALIX2D13
  415. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_PCENGINES_ALIX2D2
  416. default "console=ttyS0,115200" if ADK_TARGET_SYSTEM_FOXBOARD_LX
  417. default ""
  418. # c library
  419. config ADK_uclibc
  420. boolean
  421. config ADK_eglibc
  422. boolean
  423. config ADK_glibc
  424. boolean
  425. config ADK_musl
  426. boolean
  427. config ADK_libc
  428. boolean
  429. config ADK_TARGET_LIBC
  430. string
  431. default "uclibc" if ADK_uclibc
  432. default "eglibc" if ADK_eglibc
  433. default "glibc" if ADK_glibc
  434. default "musl" if ADK_musl
  435. default "libc" if ADK_libc
  436. source "target/linux/config/Config.in.kernel"
  437. choice
  438. prompt "Target C library"
  439. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  440. config ADK_TARGET_LIB_UCLIBC
  441. prompt "uClibc embedded C library"
  442. boolean
  443. select ADK_uclibc
  444. depends on \
  445. !ADK_LINUX_SPARC64 && \
  446. !ADK_LINUX_PPC64 && \
  447. !ADK_LINUX_NATIVE
  448. help
  449. http://uclibc.org
  450. config ADK_TARGET_LIB_EGLIBC
  451. prompt "Embedded GNU C library"
  452. boolean
  453. select ADK_eglibc
  454. depends on \
  455. ADK_LINUX_ARM || \
  456. ADK_LINUX_ARMEB || \
  457. ADK_LINUX_MIPS || \
  458. ADK_LINUX_MIPSEL || \
  459. ADK_LINUX_MIPS64 || \
  460. ADK_LINUX_MIPS64EL || \
  461. ADK_LINUX_PPC || \
  462. ADK_LINUX_PPC64 || \
  463. ADK_LINUX_SPARC || \
  464. ADK_LINUX_SPARC64 || \
  465. ADK_LINUX_X86 || \
  466. ADK_LINUX_X86_64
  467. help
  468. http://www.eglibc.org
  469. config ADK_TARGET_LIB_GLIBC
  470. prompt "GNU C library"
  471. boolean
  472. select ADK_glibc
  473. depends on \
  474. ADK_LINUX_ARM || \
  475. ADK_LINUX_ARMEB || \
  476. ADK_LINUX_MIPS || \
  477. ADK_LINUX_MIPSEL || \
  478. ADK_LINUX_MIPS64 || \
  479. ADK_LINUX_MIPS64EL || \
  480. ADK_LINUX_PPC || \
  481. ADK_LINUX_PPC64 || \
  482. ADK_LINUX_SPARC || \
  483. ADK_LINUX_SPARC64 || \
  484. ADK_LINUX_X86 || \
  485. ADK_LINUX_X86_64
  486. help
  487. http://www.gnu.org/libc
  488. config ADK_TARGET_LIB_MUSL
  489. prompt "musl C library"
  490. boolean
  491. select ADK_musl
  492. depends on \
  493. ADK_LINUX_ARM || \
  494. ADK_LINUX_MIPS || \
  495. ADK_LINUX_MIPSEL || \
  496. ADK_LINUX_PPC || \
  497. ADK_LINUX_X86 || \
  498. ADK_LINUX_X86_64
  499. help
  500. http://musl-libc.org
  501. config ADK_TARGET_LIB_LIBC
  502. prompt "Native C library"
  503. boolean
  504. select ADK_libc
  505. depends on ADK_LINUX_NATIVE
  506. endchoice
  507. config ADK_TARGET_SUFFIX
  508. string
  509. default "gnueabihf" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABIHF
  510. default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
  511. default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
  512. default "uclibcgnueabihf" if ADK_TARGET_LIB_UCLIBC && ADK_EABIHF
  513. default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI
  514. default "uclibc" if ADK_TARGET_LIB_UCLIBC && !ADK_EABI
  515. default "muslgnueabihf" if ADK_TARGET_LIB_MUSL && ADK_EABIHF
  516. default "muslgnueabi" if ADK_TARGET_LIB_MUSL && ADK_EABI
  517. default "musl" if ADK_TARGET_LIB_MUSL && !ADK_EABI
  518. default "gnu"
  519. choice
  520. prompt "Target firmware type"
  521. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH && !ADK_TOOLCHAIN
  522. default ADK_TARGET_ROOTFS_ARCHIVE
  523. config ADK_TARGET_ROOTFS_INITRAMFS
  524. bool "initramfs filesystem"
  525. depends on \
  526. ADK_HARDWARE_QEMU || \
  527. ADK_LINUX_ARM || \
  528. ADK_LINUX_MIPS || \
  529. ADK_LINUX_PPC || \
  530. ADK_LINUX_SPARC || \
  531. ADK_LINUX_X86 || \
  532. ADK_LINUX_X86_64 || \
  533. ADK_LINUX_NATIVE
  534. depends on !ADK_HARDWARE_VBOX
  535. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  536. select ADK_KERNEL_BLK_DEV_INITRD
  537. select ADK_KERNEL_RD_XZ
  538. help
  539. create an read-only initramfs system.
  540. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  541. bool "initramfs filesystem included into kernel image"
  542. select ADK_LINUX_INITRAMFS_BUILTIN
  543. depends on \
  544. ADK_HARDWARE_QEMU || \
  545. ADK_LINUX_ARM || \
  546. ADK_LINUX_MIPS || \
  547. ADK_LINUX_PPC || \
  548. ADK_LINUX_SPARC || \
  549. ADK_LINUX_X86 || \
  550. ADK_LINUX_X86_64 || \
  551. ADK_LINUX_NATIVE
  552. depends on !ADK_HARDWARE_VBOX
  553. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  554. select ADK_KERNEL_EXT2_FS
  555. help
  556. create an read-only initramfs system.
  557. config ADK_TARGET_ROOTFS_SQUASHFS
  558. bool "Compressed read-only root filesystem (squashfs)"
  559. select ADK_KERNEL_SQUASHFS
  560. depends on ADK_TARGET_WITH_MTD
  561. help
  562. highly compressed read-only filesystem for MTD flash systems.
  563. config ADK_TARGET_ROOTFS_YAFFS
  564. bool "YAFFS2 root filesystem (NAND)"
  565. select ADK_KERNEL_MISC_FILESYSTEMS
  566. select ADK_KERNEL_YAFFS_FS
  567. select ADK_KERNEL_YAFFS_YAFFS2
  568. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  569. depends on ADK_TARGET_WITH_NAND
  570. help
  571. Root filesystem on NAND flash with YAFFS2.
  572. config ADK_TARGET_ROOTFS_NFSROOT
  573. bool "NFS root"
  574. select ADK_KERNEL_NETWORK_FILESYSTEMS
  575. select ADK_KERNEL_SUNRPC
  576. select ADK_KERNEL_NFS_FS
  577. select ADK_KERNEL_NFS_V3
  578. select ADK_KERNEL_ROOT_NFS
  579. select ADK_KERNEL_NFS_COMMON
  580. select ADK_KERNEL_IP_PNP
  581. select ADK_KERNEL_IP_PNP_DHCP
  582. depends on !ADK_HARDWARE_QEMU && !ADK_HARDWARE_VBOX
  583. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  584. help
  585. Root filesystem mounted via NFS. (DHCP)
  586. config ADK_TARGET_ROOTFS_USB
  587. bool "Boot from USB stick"
  588. select ADK_KERNEL_NLS
  589. select ADK_KERNEL_SCSI
  590. select ADK_KERNEL_BLK_DEV_SD
  591. select ADK_KERNEL_USB
  592. select ADK_KERNEL_USB_EHCI_HCD
  593. select ADK_KERNEL_USB_OHCI_HCD
  594. select ADK_KERNEL_USB_UHCI_HCD
  595. select ADK_KERNEL_USB_STORAGE
  596. select ADK_KERNEL_EXT2_FS
  597. depends on ADK_TARGET_WITH_USB_BOOT
  598. help
  599. Boot system from USB stick.
  600. config ADK_TARGET_ROOTFS_CF
  601. bool "read-write filesystem for compact flash"
  602. depends on ADK_TARGET_WITH_CF
  603. select ADK_KERNEL_EXT2_FS
  604. select ADK_KERNEL_SCSI
  605. help
  606. Use this option if you have a compact flash based system.
  607. (ext2 filesystem is used.)
  608. config ADK_TARGET_ROOTFS_GENEXT2FS
  609. bool "read-write filesystem for compact flash (genext2fs version)"
  610. depends on ADK_TARGET_WITH_CF
  611. select ADK_KERNEL_EXT2_FS
  612. select ADK_KERNEL_SCSI
  613. help
  614. Use this option if you have a compact flash based system.
  615. (ext2 filesystem is used.)
  616. config ADK_TARGET_ROOTFS_MMC
  617. bool "read-write filesystem for mmc/sdcard"
  618. depends on ADK_TARGET_WITH_MMC
  619. select ADK_KERNEL_EXT2_FS
  620. select ADK_KERNEL_SCSI
  621. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  622. help
  623. Use this option if you have a MMC/SDCARD based system.
  624. (ext2 filesystem is used.)
  625. config ADK_TARGET_ROOTFS_ARCHIVE
  626. bool "Archive usable for different filesystems"
  627. help
  628. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  629. endchoice
  630. config ADK_TARGET_ROOT_EXT4_RASPBERRY_PI
  631. boolean
  632. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI && ADK_TARGET_ROOTFS_ARCHIVE
  633. select ADK_KERNEL_EXT4_FS
  634. default y
  635. help
  636. Compile EXT4 filesystem into kernel and use it as root filesystem.
  637. choice
  638. prompt "Root filesystem type"
  639. depends on ADK_TARGET_ROOTFS_ARCHIVE && !ADK_TARGET_SYSTEM_RASPBERRY_PI
  640. default ADK_TARGET_ROOT_EXT2_FS
  641. config ADK_TARGET_ROOT_EXT2
  642. boolean
  643. prompt "EXT2 filesystem"
  644. select ADK_KERNEL_EXT2_FS
  645. help
  646. Compile EXT2 filesystem into kernel and use it as root filesystem.
  647. config ADK_TARGET_ROOT_EXT3
  648. boolean
  649. prompt "EXT3 filesystem"
  650. select ADK_KERNEL_EXT3_FS
  651. help
  652. Compile EXT3 filesystem into kernel and use it as root filesystem.
  653. config ADK_TARGET_ROOT_EXT4
  654. boolean
  655. prompt "EXT4 filesystem"
  656. select ADK_KERNEL_EXT4_FS
  657. help
  658. Compile EXT4 filesystem into kernel and use it as root filesystem.
  659. config ADK_TARGET_ROOT_XFS
  660. boolean
  661. prompt "XFS filesystem"
  662. select ADK_KERNEL_XFS_FS
  663. help
  664. Compile XFS filesystem into kernel and use it as root filesystem.
  665. endchoice
  666. config ADK_TARGET_ROOTFS
  667. string
  668. default "xfs" if ADK_TARGET_ROOT_XFS
  669. default "ext2" if ADK_TARGET_ROOT_EXT2
  670. default "ext3" if ADK_TARGET_ROOT_EXT3
  671. default "ext4" if ADK_TARGET_ROOT_EXT4
  672. help
  673. config ADK_PACKAGE_SUFFIX
  674. string
  675. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  676. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  677. help
  678. choice
  679. prompt "Target package format"
  680. default ADK_TARGET_PACKAGE_IPKG
  681. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  682. config ADK_TARGET_PACKAGE_IPKG
  683. boolean
  684. prompt "ipkg"
  685. select BUSYBOX_IPKG
  686. help
  687. Create ipkg packages and use ipkg package management on the target.
  688. config ADK_TARGET_PACKAGE_TGZ
  689. boolean
  690. prompt "tar archive"
  691. help
  692. Create compressed tar archives of packages.
  693. Pre- and post install scripts will be executed in the target
  694. directory. There will be no package manager installed onto the target.
  695. endchoice
  696. source "target/config/Config.in.tools"