1
0

Config.in 24 KB

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