1
0

Config.in.runtime 19 KB

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