From 8e2707b81b0c90295c9fdf92a576925442d22147 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 20 Aug 2014 21:11:13 +0200 Subject: add sash, simpleinit and a uclibc config for nonmmu case --- target/config/Config.in | 2 ++ target/config/Config.in.runtime | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'target/config') diff --git a/target/config/Config.in b/target/config/Config.in index 38f8090dd..3982b9cc9 100644 --- a/target/config/Config.in +++ b/target/config/Config.in @@ -16,6 +16,8 @@ config ADK_TARGET_TOOLCHAIN config ADK_TARGET_UCLINUX select ADK_TARGET_USE_STATIC_LIBS + select ADK_PACKAGE_SASH + select ADK_PACKAGE_SIMPLEINIT boolean config ADK_TARGET_QEMU diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime index 845786a45..2caec15ec 100644 --- a/target/config/Config.in.runtime +++ b/target/config/Config.in.runtime @@ -150,7 +150,7 @@ config ADK_RUNTIME_KBD_LAYOUT choice prompt "initial login shell for the root user" -default ADK_ROOTSH_HUSH if ADK_TARGET_UCLINUX +default ADK_ROOTSH_SASH if ADK_TARGET_UCLINUX default ADK_ROOTSH_MKSH config ADK_ROOTSH_MKSH @@ -160,6 +160,12 @@ config ADK_ROOTSH_MKSH Use mksh (a Korn Shell variant) as standard login shell for the superuser. +config ADK_ROOTSH_SASH + select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY + bool "sash (Shell compatible with non-MMU systems)" + help + standalone shell. + config ADK_ROOTSH_HUSH select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY bool "hush (Shell compatible with non-MMU systems)" @@ -197,7 +203,7 @@ endchoice choice prompt "system /bin/sh (POSIX script shell)" -default ADK_BINSH_HUSH if ADK_TARGET_UCLINUX +default ADK_BINSH_SASH if ADK_TARGET_UCLINUX default ADK_BINSH_MKSH config ADK_BINSH_MKSH @@ -207,6 +213,12 @@ config ADK_BINSH_MKSH Use mksh (a Korn Shell variant) as system shell, which is both small and powerful, so quite suited for this task. +config ADK_BINSH_SASH + select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY + bool "sash (Standalone Shell)" + help + hush shell. + config ADK_BINSH_HUSH select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY bool "hush (busybox)" -- cgit v1.2.3 From 9d6eef9b39547d230d5a7cb871735bae71f5fd55 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 26 Aug 2014 12:28:55 +0200 Subject: we need to remove crtbegin.o/crtend.o from gcc specs file. otherwise broken executables (f.e. sash) with a wrong data start are created by elf2flt) --- target/config/Config.in | 1 - target/config/Config.in.target | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'target/config') diff --git a/target/config/Config.in b/target/config/Config.in index 3982b9cc9..7393bfe9c 100644 --- a/target/config/Config.in +++ b/target/config/Config.in @@ -15,7 +15,6 @@ config ADK_TARGET_TOOLCHAIN boolean config ADK_TARGET_UCLINUX - select ADK_TARGET_USE_STATIC_LIBS select ADK_PACKAGE_SASH select ADK_PACKAGE_SIMPLEINIT boolean diff --git a/target/config/Config.in.target b/target/config/Config.in.target index 6cb858450..ad1e8dfe0 100644 --- a/target/config/Config.in.target +++ b/target/config/Config.in.target @@ -3,7 +3,7 @@ config ADK_TARGET_CFLAGS string - default "-march=isaaplus -mcpu=5208" if ADK_CPU_CF_5208 + default "-mcpu=5208" if ADK_CPU_CF_5208 default "-mcpu=v7.10.d" if ADK_CPU_MICROBLAZE default "-m4 -ml" if ADK_CPU_SH4 && ADK_little default "-m4 -mb" if ADK_CPU_SH4 && ADK_big -- cgit v1.2.3