Config.in.runtime 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  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_RUNTIME_DATA_PARTITION
  4. bool
  5. config ADK_RUNTIME_HOSTNAME
  6. string "hostname for the embedded system"
  7. default "openadk"
  8. help
  9. Set your target hostname.
  10. choice
  11. prompt "init system"
  12. depends on !ADK_APPLIANCE_TOOLCHAIN
  13. default ADK_RUNTIME_INIT_SYSV if ADK_PACKAGE_BUSYBOX
  14. config ADK_RUNTIME_INIT_SYSV
  15. bool "Use busybox init"
  16. depends on ADK_PACKAGE_BUSYBOX
  17. config ADK_RUNTIME_INIT_SYSVINIT
  18. bool "Use system V init"
  19. select ADK_PACKAGE_SYSVINIT
  20. select ADK_PACKAGE_AGETTY
  21. select ADK_PACKAGE_GAWK
  22. select ADK_PACKAGE_IP
  23. select ADK_PACKAGE_MOUNT
  24. config ADK_RUNTIME_INIT_S6
  25. bool "Use s6 init and supervision"
  26. select ADK_PACKAGE_S6
  27. select ADK_PACKAGE_S6_PORTABLE_UTILS
  28. select ADK_PACKAGE_S6_LINUX_UTILS
  29. config ADK_RUNTIME_INIT_SYSTEMD
  30. bool "Use systemd init and supervision"
  31. select ADK_PACKAGE_SYSTEMD
  32. select ADK_PACKAGE_DBUS
  33. select ADK_PACKAGE_DBUS_WITH_SYSTEMD
  34. select ADK_TARGET_LIBC_WITH_LOCALE if ADK_TARGET_LIB_UCLIBC_NG
  35. select ADK_TARGET_LIBC_WITH_LIBINTL_STUB if ADK_TARGET_LIB_UCLIBC_NG
  36. depends on ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_UCLIBC_NG
  37. config ADK_RUNTIME_INIT_SIMPLEINIT
  38. bool "Use a very simple init"
  39. select ADK_PACKAGE_SIMPLEINIT
  40. endchoice
  41. choice
  42. prompt "system for /dev management"
  43. depends on !ADK_APPLIANCE_TOOLCHAIN
  44. default ADK_RUNTIME_DEV_STATIC if ADK_TARGET_WITHOUT_MMU || ADK_TARGET_ARCH_CRIS
  45. default ADK_RUNTIME_DEV_MDEV
  46. config ADK_RUNTIME_DEV_MDEV
  47. bool "Use mdev"
  48. select ADK_KERNEL_DEVTMPFS
  49. select ADK_KERNEL_DEVTMPFS_MOUNT
  50. depends on ADK_PACKAGE_BUSYBOX
  51. depends on !ADK_RUNTIME_INIT_SYSTEMD
  52. config ADK_RUNTIME_DEV_UDEV
  53. bool "Use udev"
  54. select ADK_PACKAGE_UDEV
  55. # needs depmod for module dependency generation on host
  56. select ADK_HOST_BUILD_KMOD
  57. select ADK_KERNEL_DEVTMPFS
  58. select ADK_KERNEL_DEVTMPFS_MOUNT
  59. depends on !ADK_RUNTIME_INIT_SYSTEMD
  60. config ADK_RUNTIME_DEV_SYSTEMD_UDEV
  61. bool "Use systemd udev"
  62. select ADK_KERNEL_DEVTMPFS
  63. select ADK_KERNEL_DEVTMPFS_MOUNT
  64. depends on ADK_RUNTIME_INIT_SYSTEMD
  65. config ADK_RUNTIME_DEV_STATIC
  66. bool "Use static /dev"
  67. depends on !ADK_RUNTIME_INIT_SYSTEMD
  68. endchoice
  69. choice
  70. prompt "base applications"
  71. depends on !ADK_APPLIANCE_TOOLCHAIN
  72. default ADK_RUNTIME_BASE_TOOLBOX if ADK_TARGET_ARCH_H8300
  73. default ADK_RUNTIME_BASE_BUSYBOX
  74. config ADK_RUNTIME_BASE_BUSYBOX
  75. bool "Use busybox"
  76. select ADK_PACKAGE_BUSYBOX
  77. config ADK_RUNTIME_BASE_TOYBOX
  78. bool "Use toybox"
  79. select ADK_PACKAGE_TOYBOX
  80. config ADK_RUNTIME_BASE_TOOLBOX
  81. bool "Use toolbox"
  82. select ADK_PACKAGE_TOOLBOX
  83. config ADK_RUNTIME_BASE_COREUTILS
  84. bool "Use coreutils"
  85. select ADK_PACKAGE_COREUTILS
  86. select ADK_PACKAGE_GREP
  87. select ADK_PACKAGE_FIND
  88. config ADK_RUNTIME_BASE_NONE
  89. bool "Use no base tools"
  90. endchoice
  91. config ADK_RUNTIME_LOAD_KERNEL_MODULES
  92. bool "load all installed kernel modules on bootup"
  93. default y
  94. help
  95. If you don't want to load all installed kernel modules
  96. by default on bootup, disable this option.
  97. config ADK_RUNTIME_FIX_PERMISSION
  98. bool "fix permissions for target files (suid bit, ..)"
  99. select ADK_HOST_BUILD_FAKEROOT
  100. depends on ADK_TARGET_ROOTFS_GENIMAGE
  101. help
  102. Use fakeroot to fix permissions for target dir before image
  103. creation.
  104. config ADK_RUNTIME_SSH_PUBKEY
  105. string "SSH public key (root user only)"
  106. depends on ADK_PACKAGE_OPENSSH_SERVER || ADK_PACKAGE_DROPBEAR
  107. default ""
  108. help
  109. Paste your generated SSH public key here and it will be embedded into
  110. the built image, so you can use it to login instantly.
  111. config ADK_RUNTIME_PASSWORD
  112. string "root password for the embedded system"
  113. default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
  114. help
  115. Predefine the root password enabled in the built image.
  116. Use ./host_*/usr/bin/mkcrypt to generate the hash.
  117. Default password is linux123
  118. config ADK_RUNTIME_ADDUSER
  119. bool "add an user"
  120. default n
  121. help
  122. Enable this option to add an unprivileged user.
  123. Fixed UID/GID 100 is used. A group with the same name is added.
  124. config ADK_RUNTIME_USER_NAME
  125. string "user name"
  126. default "adk"
  127. depends on ADK_RUNTIME_ADDUSER
  128. config ADK_RUNTIME_USER_PASSWORD
  129. string "user password"
  130. default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
  131. depends on ADK_RUNTIME_ADDUSER
  132. help
  133. Predefine the user password enabled in the built image.
  134. Use ./host_*/usr/bin/mkcrypt to generate the hash.
  135. Default password is linux123
  136. config ADK_RUNTIME_USER_HOME
  137. string "user home directory"
  138. default "/home/adk"
  139. depends on ADK_RUNTIME_ADDUSER
  140. help
  141. Set the home directory to use.
  142. config ADK_RUNTIME_USER_SHELL
  143. string "user shell"
  144. default "/bin/sh"
  145. depends on ADK_RUNTIME_ADDUSER
  146. help
  147. Set the shell to use.
  148. config ADK_RUNTIME_START_SERVICES
  149. bool "start services by default"
  150. default n
  151. help
  152. Enable this option to start selected services on boot.
  153. source "target/config/Config.in.scripts"
  154. config ADK_RUNTIME_TMPFS_SIZE
  155. string "size of /tmp in memory (kB)"
  156. default "32768" if ADK_TARGET_SYSTEM_IBM_X40
  157. default "32768" if ADK_TARGET_SYSTEM_SGI_O2
  158. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  159. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  160. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  161. default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  162. default "16384" if ADK_TARGET_SYSTEM_QEMU_X86_64
  163. default "16384" if ADK_TARGET_SYSTEM_QEMU_X86
  164. default "16384" if ADK_TARGET_VBOX
  165. default "16384" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  166. default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  167. default "8192" if ADK_TARGET_SYSTEM_SGI_INDY
  168. default "1024"
  169. depends on !ADK_RUNTIME_INIT_SIMPLEINIT && !ADK_RUNTIME_INIT_SYSTEMD
  170. help
  171. Size of /tmp in memory in Kilobyte.
  172. config ADK_RUNTIME_TIMEZONE
  173. string "timezone for the embedded system"
  174. default "Europe/Berlin"
  175. help
  176. Predefine the timezone for the embedded system.
  177. config ADK_RUNTIME_DEFAULT_LOCALE
  178. string "default locale"
  179. depends on ADK_TARGET_LIBC_WITH_LOCALE \
  180. || ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL
  181. default "C.UTF-8"
  182. help
  183. Locale to be set in the target system as default.
  184. choice
  185. prompt "bootup messages from kernel"
  186. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY
  187. bool "output via VGA only"
  188. depends on ADK_TARGET_WITH_VGA \
  189. || ADK_TARGET_GENERIC
  190. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY
  191. bool "output via serial console only"
  192. depends on ADK_TARGET_WITH_SERIAL \
  193. || ADK_TARGET_QEMU \
  194. || ADK_TARGET_SIM \
  195. || ADK_TARGET_GENERIC
  196. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL
  197. bool "output via VGA and serial console"
  198. depends on ADK_TARGET_WITH_SERIAL && \
  199. ADK_TARGET_WITH_VGA || \
  200. ADK_TARGET_GENERIC
  201. help
  202. Output is via VGA and serial console.
  203. Init can use only serial via /dev/console.
  204. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA
  205. bool "output via serial console and VGA"
  206. depends on ADK_TARGET_WITH_SERIAL && \
  207. ADK_TARGET_WITH_VGA || \
  208. ADK_TARGET_GENERIC
  209. help
  210. Output is via serial console and VGA.
  211. Init can use only VGA via /dev/console.
  212. config ADK_RUNTIME_QUIET_KERNEL
  213. bool "no output from the kernel"
  214. help
  215. Make bootup quiet without messages from the kernel.
  216. endchoice
  217. choice
  218. prompt "bootup messages from initscripts"
  219. default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA
  220. default ADK_RUNTIME_VERBOSE_INIT_SERIAL
  221. config ADK_RUNTIME_VERBOSE_INIT_VGA
  222. bool "output via VGA"
  223. depends on ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC
  224. depends on ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA || \
  225. ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY || \
  226. ADK_RUNTIME_QUIET_KERNEL
  227. config ADK_RUNTIME_VERBOSE_INIT_SERIAL
  228. bool "output via serial"
  229. depends on ADK_TARGET_WITH_SERIAL \
  230. || ADK_TARGET_QEMU \
  231. || ADK_TARGET_SIM \
  232. || ADK_TARGET_GENERIC
  233. depends on ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL || \
  234. ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY || \
  235. ADK_RUNTIME_QUIET_KERNEL
  236. config ADK_RUNTIME_QUIET_INIT
  237. bool "no output"
  238. endchoice
  239. choice
  240. prompt "start getty or shell after bootup"
  241. default ADK_RUNTIME_GETTY
  242. config ADK_RUNTIME_GETTY
  243. bool "start a getty after bootup"
  244. help
  245. Start a getty after bootup.
  246. config ADK_RUNTIME_SHELL
  247. bool "start a shell after bootup"
  248. help
  249. Start a shell after bootup.
  250. config ADK_RUNTIME_NONE
  251. bool "start no shell nor getty after bootup"
  252. help
  253. Do not start a shell or getty after bootup.
  254. endchoice
  255. config ADK_RUNTIME_GETTY_VGA
  256. bool "start getty on VGA console (tty1-tty6)"
  257. depends on ADK_RUNTIME_GETTY \
  258. && (ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC)
  259. default y if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  260. default y if ADK_TARGET_QEMU_WITH_GRAPHIC
  261. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  262. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI0
  263. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  264. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  265. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  266. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  267. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  268. default y if ADK_TARGET_SYSTEM_IBM_X40
  269. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  270. default y if ADK_TARGET_MODEL_PCENGINES_ALIX1C
  271. default y if ADK_TARGET_VBOX
  272. default n
  273. help
  274. Start getty on VGA console. (tty1-tty6)
  275. config ADK_RUNTIME_GETTY_SERIAL
  276. bool "start getty on serial console"
  277. depends on ADK_RUNTIME_GETTY && ( ADK_TARGET_WITH_SERIAL \
  278. || ADK_TARGET_QEMU \
  279. || ADK_TARGET_GENERIC \
  280. || ADK_TARGET_SIM )
  281. default n if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  282. default n if ADK_TARGET_QEMU_WITH_GRAPHIC
  283. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  284. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  285. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  286. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  287. default n if ADK_TARGET_SYSTEM_IBM_X40
  288. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  289. default n if ADK_TARGET_MODEL_PCENGINES_ALIX1C
  290. default n if ADK_TARGET_VBOX
  291. default y
  292. help
  293. Start getty on serial console.
  294. config ADK_RUNTIME_CONSOLE_VGA_DEVICE
  295. string "VGA console device"
  296. depends on ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC
  297. default "tty0"
  298. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  299. string "serial console device"
  300. depends on ADK_TARGET_WITH_SERIAL \
  301. || ADK_TARGET_QEMU \
  302. || ADK_TARGET_GENERIC \
  303. || ADK_TARGET_SIM
  304. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  305. default "ttyBF0" if ADK_TARGET_ARCH_BFIN
  306. default "ttyUL0" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  307. || ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  308. default "ttyARC0" if ADK_TARGET_SYSTEM_NSIM_ARCV1 \
  309. || ADK_TARGET_SYSTEM_NSIM_ARCV2
  310. default "ttyAMA0" if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  311. || ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU \
  312. || ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
  313. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
  314. || ADK_TARGET_SYSTEM_QEMU_AARCH64
  315. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
  316. default "ttySC0" if ADK_TARGET_SYSTEM_SIM_H8300H
  317. default "ttySC2" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  318. default "ttymxc0" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  319. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  320. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  321. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  322. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  323. default "ttyDA1" if ADK_TARGET_SYSTEM_QEMU_METAG
  324. default "ttyS2" if ADK_TARGET_SYSTEM_KINETIS_K70
  325. default "ttyS2" if ADK_TARGET_SYSTEM_SOM_C6745
  326. default "ttyPS0" if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  327. default "ttysclp0" if ADK_TARGET_SYSTEM_QEMU_S390
  328. default "ttyO2" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  329. default "ttyO0" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  330. default "ttyS4" if ADK_TARGET_SYSTEM_IMGTEC_CI20
  331. default "ttyS0"
  332. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  333. string "serial console speed"
  334. depends on ADK_TARGET_WITH_SERIAL \
  335. || ADK_TARGET_QEMU \
  336. || ADK_TARGET_GENERIC \
  337. || ADK_TARGET_SIM
  338. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  339. default "9600" if ADK_TARGET_SYSTEM_SGI_INDY
  340. default "9600" if ADK_TARGET_SYSTEM_SGI_O2
  341. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  342. default "38400" if ADK_TARGET_SYSTEM_ANDES_AG101P
  343. default "38400" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  344. default "115200"
  345. config ADK_RUNTIME_KBD_LAYOUT
  346. string "keyboard layout for the embedded system"
  347. depends on ADK_TARGET_WITH_INPUT
  348. default "de-latin1-nodeadkeys"
  349. help
  350. Predefine the keyboard layout for the embedded system.
  351. For example use de-latin1-nodeadkeys.
  352. choice
  353. prompt "initial login shell for the root user"
  354. default ADK_ROOTSH_HUSH if ADK_TARGET_WITHOUT_MMU
  355. default ADK_ROOTSH_MKSH
  356. config ADK_ROOTSH_MKSH
  357. bool "mksh (MirBSD Korn Shell)"
  358. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  359. help
  360. Use mksh (a Korn Shell variant) as standard login shell
  361. for the superuser.
  362. config ADK_ROOTSH_HUSH
  363. bool "hush (busybox shell compatible with non-MMU systems)"
  364. select BUSYBOX_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  365. select BUSYBOX_SH_IS_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  366. help
  367. hush shell from busybox.
  368. config ADK_ROOTSH_SASH
  369. bool "sash (Shell compatible with non-MMU systems)"
  370. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  371. help
  372. standalone shell.
  373. config ADK_ROOTSH_ASH
  374. bool "ash (busybox shell)"
  375. select BUSYBOX_ASH
  376. select BUSYBOX_SH_IS_ASH
  377. help
  378. Use the minimalistic ash variant that is part of busybox
  379. as standard login shell for the superuser. This is the
  380. default, but discouraged due to its frugality.
  381. config ADK_ROOTSH_BASH
  382. bool "bash (GNU Bourne-Again Shell)"
  383. select ADK_PACKAGE_BASH
  384. help
  385. Use GNU bash as standard login shell for the superuser.
  386. config ADK_ROOTSH_TCSH
  387. bool "tcsh (Tenex C Shell)"
  388. select ADK_PACKAGE_TCSH
  389. help
  390. Use tcsh (a C Shell variant) as standard login shell
  391. for the superuser.
  392. config ADK_ROOTSH_ZSH
  393. bool "zsh (The Z Shell)"
  394. select ADK_PACKAGE_ZSH
  395. help
  396. Use zsh as standard login shell for the superuser.
  397. endchoice
  398. choice
  399. prompt "system /bin/sh (POSIX script shell)"
  400. default ADK_BINSH_HUSH if ADK_TARGET_WITHOUT_MMU
  401. default ADK_BINSH_MKSH
  402. config ADK_BINSH_MKSH
  403. bool "mksh (MirBSD Korn Shell)"
  404. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  405. help
  406. Use mksh (a Korn Shell variant) as system shell, which is
  407. both small and powerful, so quite suited for this task.
  408. config ADK_BINSH_HUSH
  409. bool "hush (busybox)"
  410. select ADK_PACKAGE_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  411. help
  412. hush shell.
  413. config ADK_BINSH_SASH
  414. bool "sash (Standalone Shell)"
  415. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  416. help
  417. sash shell.
  418. config ADK_BINSH_ASH
  419. bool "ash (busybox)"
  420. select BUSYBOX_ASH
  421. help
  422. Use the minimalistic ash variant that is part of busybox
  423. as system shell. This is the default and rather small and
  424. fast, but lacks scripting features.
  425. config ADK_BINSH_BASH
  426. bool "bash (GNU Bourne-Again Shell)"
  427. select ADK_PACKAGE_BASH
  428. help
  429. Use GNU bash as system shell. This is discouraged due to
  430. its size and slowness.
  431. config ADK_BINSH_ZSH
  432. bool "zsh (The Z Shell)"
  433. select ADK_PACKAGE_ZSH
  434. help
  435. Use zsh as system shell. This is probably a bad idea.
  436. endchoice
  437. # workaround for USB ethernet f.e. Raspberry Pi 2/3
  438. config ADK_RUNTIME_WAIT_FOR_ETHERNET
  439. bool
  440. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  441. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  442. config ADK_SIMPLE_NETWORK_CONFIG
  443. bool "simple network configuration"
  444. help
  445. Manually change network config
  446. menu "eth0 Configuration"
  447. depends on ADK_SIMPLE_NETWORK_CONFIG
  448. depends on ADK_TARGET_WITH_NETDEVICE
  449. choice
  450. prompt "Type"
  451. default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  452. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  453. bool "static IP configuration"
  454. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  455. bool "DHCP"
  456. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
  457. bool "no configuration"
  458. endchoice
  459. choice
  460. prompt "configure default Gateway"
  461. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  462. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  463. bool "with Gateway"
  464. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
  465. bool "without Gateway"
  466. endchoice
  467. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
  468. string "IP Address"
  469. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  470. default "10.0.0.2"
  471. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
  472. string "Netmask"
  473. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  474. default "255.255.255.0"
  475. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
  476. string "Gateway"
  477. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  478. default "10.0.0.1"
  479. endmenu
  480. menu "wlan0 Configuration"
  481. depends on ADK_SIMPLE_NETWORK_CONFIG
  482. depends on ADK_TARGET_WITH_WIFI
  483. choice
  484. prompt "Type"
  485. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  486. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  487. bool "No configuration"
  488. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  489. bool "static IP configuration"
  490. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  491. bool "DHCP"
  492. endchoice
  493. choice
  494. prompt "configure default Gateway"
  495. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  496. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  497. bool "with Gateway"
  498. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
  499. bool "without Gateway"
  500. endchoice
  501. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
  502. string "IP Address"
  503. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  504. default "192.168.1.2"
  505. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
  506. string "Netmask"
  507. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  508. default "255.255.255.0"
  509. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
  510. string "Gateway"
  511. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  512. default "192.168.1.1"
  513. endmenu
  514. choice
  515. prompt "WLAN Security"
  516. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC || ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  517. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  518. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  519. bool "No security"
  520. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  521. bool "WPA2"
  522. endchoice
  523. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_SSID
  524. string "SSID"
  525. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  526. default ""
  527. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_PW
  528. string "Password"
  529. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  530. default ""
  531. menu "eth1 Configuration"
  532. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  533. ADK_TARGET_SYSTEM_MIKROTIK_RB532
  534. choice
  535. prompt "Type"
  536. default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  537. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  538. bool "static IP configuration"
  539. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  540. bool "DHCP"
  541. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  542. bool "no configuration"
  543. endchoice
  544. choice
  545. prompt "configure default Gateway"
  546. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  547. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  548. bool "with Gateway"
  549. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
  550. bool "without Gateway"
  551. endchoice
  552. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
  553. string "IP Address"
  554. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  555. default "172.16.0.2"
  556. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
  557. string "Netmask"
  558. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  559. default "255.255.0.0"
  560. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
  561. string "Gateway"
  562. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  563. default "172.16.0.1"
  564. endmenu
  565. config ADK_SIMPLE_NETWORK_CONFIG_NS
  566. string "Nameserver"
  567. depends on ADK_SIMPLE_NETWORK_CONFIG
  568. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  569. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  570. depends on !ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  571. default "10.0.0.1"
  572. config ADK_SIMPLE_NETWORK_CONFIG_PROXY
  573. string "HTTP-Proxy (f.e. http://10.0.0.2:8080)"
  574. depends on ADK_SIMPLE_NETWORK_CONFIG