1
0

Config.in.runtime 15 KB

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