summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-31 18:37:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-31 18:37:51 +0100
commit0fe87f4777f55868974f30aa2449520da326fe8e (patch)
tree46ca4f0323b27a2b01bb0829de6fc529e22e3353
parent70efb82d20876582baea0a1cbcb127170aaf42ac (diff)
fix native library stuff
-rw-r--r--target/config/Config.in11
-rw-r--r--target/config/Config.in.arch.choice2
2 files changed, 9 insertions, 4 deletions
diff --git a/target/config/Config.in b/target/config/Config.in
index 11fd58224..42e891cba 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -204,7 +204,8 @@ config ADK_TARGET_LIB_UCLIBC
!ADK_TARGET_SYSTEM_LEMOTE_YEELONG && \
!ADK_LINUX_SPARC64 && \
!ADK_LINUX_SPARC && \
- !ADK_LINUX_PPC64
+ !ADK_LINUX_PPC64 && \
+ !ADK_LINUX_NATIVE
help
http://uclibc.org
@@ -213,7 +214,6 @@ config ADK_TARGET_LIB_EGLIBC
boolean
select ADK_eglibc
depends on \
- ADK_LINUX_NATIVE || \
ADK_LINUX_ARM || \
ADK_LINUX_ARMEB || \
ADK_LINUX_MIPS || \
@@ -234,7 +234,6 @@ config ADK_TARGET_LIB_GLIBC
boolean
select ADK_glibc
depends on \
- ADK_LINUX_NATIVE || \
ADK_LINUX_ARM || \
ADK_LINUX_ARMEB || \
ADK_LINUX_MIPS || \
@@ -250,6 +249,12 @@ config ADK_TARGET_LIB_GLIBC
help
http://www.gnu.org/libc
+config ADK_TARGET_LIB_LIBC
+ prompt "Native C library"
+ boolean
+ select ADK_libc
+ depends on ADK_LINUX_NATIVE
+
endchoice
config ADK_TARGET_SUFFIX
diff --git a/target/config/Config.in.arch.choice b/target/config/Config.in.arch.choice
index 4b5292d88..607fbb4b9 100644
--- a/target/config/Config.in.arch.choice
+++ b/target/config/Config.in.arch.choice
@@ -6,9 +6,9 @@ config ADK_CHOOSE_TARGET_ARCH
config ADK_LINUX_NATIVE
bool "native build"
- select ADK_libc
select ADK_native
select ADK_NATIVE
+ select ADK_TARGET_LIB_LIBC
depends on ADK_HOST_LINUX
help
Make a native build. Use host tools.