Config.in 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875
  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_LIB_STATIC_LIBGCC
  430. boolean
  431. config ADK_TARGET_LIBC
  432. string
  433. default "uclibc" if ADK_uclibc
  434. default "eglibc" if ADK_eglibc
  435. default "glibc" if ADK_glibc
  436. default "musl" if ADK_musl
  437. default "libc" if ADK_libc
  438. source "target/linux/config/Config.in.kernel"
  439. choice
  440. prompt "Target C library"
  441. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  442. config ADK_TARGET_LIB_UCLIBC
  443. prompt "uClibc embedded C library"
  444. boolean
  445. select ADK_uclibc
  446. depends on \
  447. !ADK_LINUX_SPARC64 && \
  448. !ADK_LINUX_PPC64 && \
  449. !ADK_LINUX_NATIVE
  450. select ADK_TARGET_LIB_STATIC_LIBGCC
  451. help
  452. http://uclibc.org
  453. config ADK_TARGET_LIB_EGLIBC
  454. prompt "Embedded GNU C library"
  455. boolean
  456. select ADK_eglibc
  457. depends on \
  458. ADK_LINUX_ARM || \
  459. ADK_LINUX_ARMEB || \
  460. ADK_LINUX_MIPS || \
  461. ADK_LINUX_MIPSEL || \
  462. ADK_LINUX_MIPS64 || \
  463. ADK_LINUX_MIPS64EL || \
  464. ADK_LINUX_PPC || \
  465. ADK_LINUX_PPC64 || \
  466. ADK_LINUX_SPARC || \
  467. ADK_LINUX_SPARC64 || \
  468. ADK_LINUX_X86 || \
  469. ADK_LINUX_X86_64
  470. select ADK_TARGET_LIB_STATIC_LIBGCC
  471. help
  472. http://www.eglibc.org
  473. config ADK_TARGET_LIB_GLIBC
  474. prompt "GNU C library"
  475. boolean
  476. select ADK_glibc
  477. depends on \
  478. ADK_LINUX_ARM || \
  479. ADK_LINUX_ARMEB || \
  480. ADK_LINUX_MIPS || \
  481. ADK_LINUX_MIPSEL || \
  482. ADK_LINUX_MIPS64 || \
  483. ADK_LINUX_MIPS64EL || \
  484. ADK_LINUX_PPC || \
  485. ADK_LINUX_PPC64 || \
  486. ADK_LINUX_SPARC || \
  487. ADK_LINUX_SPARC64 || \
  488. ADK_LINUX_X86 || \
  489. ADK_LINUX_X86_64
  490. select ADK_TARGET_LIB_STATIC_LIBGCC
  491. help
  492. http://www.gnu.org/libc
  493. config ADK_TARGET_LIB_MUSL
  494. prompt "musl C library"
  495. boolean
  496. select ADK_musl
  497. depends on \
  498. ADK_LINUX_ARM || \
  499. ADK_LINUX_MIPS || \
  500. ADK_LINUX_MIPSEL || \
  501. ADK_LINUX_PPC || \
  502. ADK_LINUX_X86 || \
  503. ADK_LINUX_X86_64
  504. help
  505. http://musl-libc.org
  506. config ADK_TARGET_LIB_LIBC
  507. prompt "Native C library"
  508. boolean
  509. select ADK_libc
  510. select ADK_TARGET_LIB_STATIC_LIBGCC
  511. depends on ADK_LINUX_NATIVE
  512. endchoice
  513. config ADK_TARGET_SUFFIX
  514. string
  515. default "gnueabihf" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABIHF
  516. default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
  517. default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
  518. default "uclibcgnueabihf" if ADK_TARGET_LIB_UCLIBC && ADK_EABIHF
  519. default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI
  520. default "uclibc" if ADK_TARGET_LIB_UCLIBC && !ADK_EABI
  521. default "muslgnueabihf" if ADK_TARGET_LIB_MUSL && ADK_EABIHF
  522. default "muslgnueabi" if ADK_TARGET_LIB_MUSL && ADK_EABI
  523. default "musl" if ADK_TARGET_LIB_MUSL && !ADK_EABI
  524. default "gnu"
  525. choice
  526. prompt "Target firmware type"
  527. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH && !ADK_TOOLCHAIN
  528. default ADK_TARGET_ROOTFS_ARCHIVE
  529. config ADK_TARGET_ROOTFS_INITRAMFS
  530. bool "initramfs filesystem"
  531. depends on \
  532. ADK_HARDWARE_QEMU || \
  533. ADK_LINUX_ARM || \
  534. ADK_LINUX_MIPS || \
  535. ADK_LINUX_PPC || \
  536. ADK_LINUX_SPARC || \
  537. ADK_LINUX_X86 || \
  538. ADK_LINUX_X86_64 || \
  539. ADK_LINUX_NATIVE
  540. depends on !ADK_HARDWARE_VBOX
  541. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  542. select ADK_KERNEL_BLK_DEV_INITRD
  543. select ADK_KERNEL_RD_XZ
  544. help
  545. create an read-only initramfs system.
  546. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  547. bool "initramfs filesystem included into kernel image"
  548. select ADK_LINUX_INITRAMFS_BUILTIN
  549. depends on \
  550. ADK_HARDWARE_QEMU || \
  551. ADK_LINUX_ARM || \
  552. ADK_LINUX_MIPS || \
  553. ADK_LINUX_PPC || \
  554. ADK_LINUX_SPARC || \
  555. ADK_LINUX_X86 || \
  556. ADK_LINUX_X86_64 || \
  557. ADK_LINUX_NATIVE
  558. depends on !ADK_HARDWARE_VBOX
  559. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  560. select ADK_KERNEL_EXT2_FS
  561. help
  562. create an read-only initramfs system.
  563. config ADK_TARGET_ROOTFS_SQUASHFS
  564. bool "Compressed read-only root filesystem (squashfs)"
  565. select ADK_KERNEL_SQUASHFS
  566. depends on ADK_TARGET_WITH_MTD
  567. help
  568. highly compressed read-only filesystem for MTD flash systems.
  569. config ADK_TARGET_ROOTFS_YAFFS
  570. bool "YAFFS2 root filesystem (NAND)"
  571. select ADK_KERNEL_MISC_FILESYSTEMS
  572. select ADK_KERNEL_YAFFS_FS
  573. select ADK_KERNEL_YAFFS_YAFFS2
  574. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  575. depends on ADK_TARGET_WITH_NAND
  576. help
  577. Root filesystem on NAND flash with YAFFS2.
  578. config ADK_TARGET_ROOTFS_NFSROOT
  579. bool "NFS root"
  580. select ADK_KERNEL_NETWORK_FILESYSTEMS
  581. select ADK_KERNEL_SUNRPC
  582. select ADK_KERNEL_NFS_FS
  583. select ADK_KERNEL_NFS_V3
  584. select ADK_KERNEL_ROOT_NFS
  585. select ADK_KERNEL_NFS_COMMON
  586. select ADK_KERNEL_IP_PNP
  587. select ADK_KERNEL_IP_PNP_DHCP
  588. depends on !ADK_HARDWARE_QEMU && !ADK_HARDWARE_VBOX
  589. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  590. help
  591. Root filesystem mounted via NFS. (DHCP)
  592. config ADK_TARGET_ROOTFS_USB
  593. bool "Boot from USB stick"
  594. select ADK_KERNEL_NLS
  595. select ADK_KERNEL_SCSI
  596. select ADK_KERNEL_BLK_DEV_SD
  597. select ADK_KERNEL_USB
  598. select ADK_KERNEL_USB_EHCI_HCD
  599. select ADK_KERNEL_USB_OHCI_HCD
  600. select ADK_KERNEL_USB_UHCI_HCD
  601. select ADK_KERNEL_USB_STORAGE
  602. select ADK_KERNEL_EXT2_FS
  603. depends on ADK_TARGET_WITH_USB_BOOT
  604. help
  605. Boot system from USB stick.
  606. config ADK_TARGET_ROOTFS_CF
  607. bool "read-write filesystem for compact flash"
  608. depends on ADK_TARGET_WITH_CF
  609. select ADK_KERNEL_EXT2_FS
  610. select ADK_KERNEL_SCSI
  611. help
  612. Use this option if you have a compact flash based system.
  613. (ext2 filesystem is used.)
  614. config ADK_TARGET_ROOTFS_GENEXT2FS
  615. bool "read-write filesystem for compact flash (genext2fs version)"
  616. depends on ADK_TARGET_WITH_CF
  617. select ADK_KERNEL_EXT2_FS
  618. select ADK_KERNEL_SCSI
  619. help
  620. Use this option if you have a compact flash based system.
  621. (ext2 filesystem is used.)
  622. config ADK_TARGET_ROOTFS_MMC
  623. bool "read-write filesystem for mmc/sdcard"
  624. depends on ADK_TARGET_WITH_MMC
  625. select ADK_KERNEL_EXT2_FS
  626. select ADK_KERNEL_SCSI
  627. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  628. help
  629. Use this option if you have a MMC/SDCARD based system.
  630. (ext2 filesystem is used.)
  631. config ADK_TARGET_ROOTFS_ARCHIVE
  632. bool "Archive usable for different filesystems"
  633. help
  634. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  635. endchoice
  636. config ADK_TARGET_ROOT_EXT4_RASPBERRY_PI
  637. boolean
  638. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI && ADK_TARGET_ROOTFS_ARCHIVE
  639. select ADK_KERNEL_EXT4_FS
  640. default y
  641. help
  642. Compile EXT4 filesystem into kernel and use it as root filesystem.
  643. choice
  644. prompt "Root filesystem type"
  645. depends on ADK_TARGET_ROOTFS_ARCHIVE && !ADK_TARGET_SYSTEM_RASPBERRY_PI
  646. default ADK_TARGET_ROOT_EXT2_FS
  647. config ADK_TARGET_ROOT_EXT2
  648. boolean
  649. prompt "EXT2 filesystem"
  650. select ADK_KERNEL_EXT2_FS
  651. help
  652. Compile EXT2 filesystem into kernel and use it as root filesystem.
  653. config ADK_TARGET_ROOT_EXT3
  654. boolean
  655. prompt "EXT3 filesystem"
  656. select ADK_KERNEL_EXT3_FS
  657. help
  658. Compile EXT3 filesystem into kernel and use it as root filesystem.
  659. config ADK_TARGET_ROOT_EXT4
  660. boolean
  661. prompt "EXT4 filesystem"
  662. select ADK_KERNEL_EXT4_FS
  663. help
  664. Compile EXT4 filesystem into kernel and use it as root filesystem.
  665. config ADK_TARGET_ROOT_XFS
  666. boolean
  667. prompt "XFS filesystem"
  668. select ADK_KERNEL_XFS_FS
  669. help
  670. Compile XFS filesystem into kernel and use it as root filesystem.
  671. endchoice
  672. config ADK_TARGET_ROOTFS
  673. string
  674. default "xfs" if ADK_TARGET_ROOT_XFS
  675. default "ext2" if ADK_TARGET_ROOT_EXT2
  676. default "ext3" if ADK_TARGET_ROOT_EXT3
  677. default "ext4" if ADK_TARGET_ROOT_EXT4
  678. help
  679. config ADK_PACKAGE_SUFFIX
  680. string
  681. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  682. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  683. help
  684. choice
  685. prompt "Target package format"
  686. default ADK_TARGET_PACKAGE_IPKG
  687. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  688. config ADK_TARGET_PACKAGE_IPKG
  689. boolean
  690. prompt "ipkg"
  691. select BUSYBOX_IPKG
  692. help
  693. Create ipkg packages and use ipkg package management on the target.
  694. config ADK_TARGET_PACKAGE_TGZ
  695. boolean
  696. prompt "tar archive"
  697. help
  698. Create compressed tar archives of packages.
  699. Pre- and post install scripts will be executed in the target
  700. directory. There will be no package manager installed onto the target.
  701. endchoice
  702. source "target/config/Config.in.tools"