From 30d158ee241a5f4bdbae1ad090675cb23f8afc84 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 16 Nov 2015 12:16:55 +0100 Subject: default to simpleinit+sash for noMMU targets GDB simulator targets for bfin/h8/300 might have only 8MB of RAM. A busybox based system in the default configuration is to big :) --- target/config/Config.in.runtime | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'target/config/Config.in.runtime') diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime index bc9470cdf..1b5b3df9e 100644 --- a/target/config/Config.in.runtime +++ b/target/config/Config.in.runtime @@ -7,6 +7,20 @@ config ADK_RUNTIME_HOSTNAME help Set your target hostname. +choice +prompt "init" +default ADK_RUNTIME_INIT_SIMPLEINIT if ADK_TARGET_WITHOUT_MMU +default ADK_RUNTIME_INIT_SYSV + +config ADK_RUNTIME_INIT_SYSV + bool "Use busybox init" + +config ADK_RUNTIME_INIT_SIMPLEINIT + bool "Use a very simple init" + select ADK_PACKAGE_SIMPLEINIT + +endchoice + choice prompt "System for /dev management" default ADK_RUNTIME_DEV_STATIC if ADK_TARGET_WITHOUT_MMU @@ -97,6 +111,7 @@ config ADK_RUNTIME_TMPFS_SIZE default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532 default "2048" + depends on !ADK_RUNTIME_INIT_SIMPLEINIT help Size of /tmp in memory in Kilobyte. @@ -271,7 +286,7 @@ config ADK_RUNTIME_KBD_LAYOUT choice prompt "initial login shell for the root user" -default ADK_ROOTSH_HUSH if ADK_TARGET_WITHOUT_MMU +default ADK_ROOTSH_SASH if ADK_TARGET_WITHOUT_MMU default ADK_ROOTSH_MKSH config ADK_ROOTSH_MKSH @@ -289,8 +304,8 @@ config ADK_ROOTSH_SASH config ADK_ROOTSH_HUSH bool "hush (busybox shell compatible with non-MMU systems)" - select BUSYBOX_HUSH if !ADK_TOOLCHAIN_ONLY - select BUSYBOX_FEATURE_SH_IS_HUSH if !ADK_TOOLCHAIN_ONLY + select BUSYBOX_HUSH + select BUSYBOX_FEATURE_SH_IS_HUSH help hush shell from busybox. @@ -326,7 +341,7 @@ endchoice choice prompt "system /bin/sh (POSIX script shell)" -default ADK_BINSH_HUSH if ADK_TARGET_WITHOUT_MMU +default ADK_BINSH_SASH if ADK_TARGET_WITHOUT_MMU default ADK_BINSH_MKSH config ADK_BINSH_MKSH @@ -338,13 +353,13 @@ config ADK_BINSH_MKSH config ADK_BINSH_SASH bool "sash (Standalone Shell)" - select ADK_PACKAGE_SASH + select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY help sash shell. config ADK_BINSH_HUSH bool "hush (busybox)" - select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY + select ADK_PACKAGE_HUSH help hush shell. -- cgit v1.2.3