Config.in.runtime 19 KB

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