From 3911b4babee413cf3e286eeb0f95e5ae008e4eb3 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sat, 27 Dec 2014 11:06:47 -0600
Subject: use static lib option for noMMU. do some style fixes.

---
 target/config/Config.in           | 22 +++++++++++-----------
 target/config/Config.in.toolchain |  2 --
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/target/config/Config.in b/target/config/Config.in
index 7393bfe9c..102830f6e 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -3,47 +3,47 @@
 
 # global symbols
 config ADK_LINUX_64
-	boolean
+	bool
 
 config ADK_TARGET_KERNEL_64
-	boolean
+	bool
 
 config ADK_TOOLCHAIN_ONLY
-	boolean
+	bool
 
 config ADK_TARGET_TOOLCHAIN
-	boolean
+	bool
 
 config ADK_TARGET_UCLINUX
+	bool
+	select ADK_TARGET_USE_STATIC_LIBS
 	select ADK_PACKAGE_SASH
 	select ADK_PACKAGE_SIMPLEINIT
-	boolean
 
 config ADK_TARGET_QEMU
-	boolean
+	bool
 
 config ADK_TARGET_VBOX
-	boolean
+	bool
 
 # the inverse of ADK_TARGET_KERNEL_CUSTOMISING,
 # allows for selecting it off (i.e., to disable it)
 config ADK_TARGET_FIXED_KERNEL
 	bool
-	default n
 
 config ADK_TARGET_KERNEL_CUSTOMISING
 	bool
-	default y
 	depends on !ADK_TARGET_FIXED_KERNEL
+	default y
 
 choice
 prompt "Toolchain options"
 depends on ADK_TARGET_TOOLCHAIN
 config ADK_TOOLCHAIN_ONLY
-	boolean "Only build toolchain and selected packages"
+	bool "Only build toolchain and selected packages"
 
 config ADK_TOOLCHAIN_ARCHIVE
-	boolean "Build a complete system usable f.e. via chroot"
+	bool "Build a complete system usable f.e. via chroot"
 
 endchoice
 
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index 80d70b3a4..0c19ef73e 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -222,8 +222,6 @@ config ADK_DEBUG_STRIP
 
 config ADK_TARGET_USE_STATIC_LIBS
 	bool "Link applications statically by default"
-	default n
-	default y if ADK_TARGET_UCLINUX
 	select BUSYBOX_STATIC
 	help
 	  Useful for debugging of dynamic linker problems. Be aware of the fact, that uClibc and glibc
-- 
cgit v1.2.3