summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.cpu8
-rw-r--r--target/config/Config.in.toolchain32
2 files changed, 25 insertions, 15 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 4cbe8d167..f0d1b71c4 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -27,7 +27,7 @@ config ADK_TARGET_CPU_ALPHA
select ADK_LINUX_64
select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
- select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_ALPHA
@@ -466,7 +466,7 @@ config ADK_TARGET_CPU_PARISC
select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
- select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
depends on ADK_TARGET_ARCH_HPPA
# ia64
@@ -476,7 +476,7 @@ config ADK_TARGET_CPU_IA64
select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
- select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
depends on ADK_TARGET_ARCH_IA64
# lm32
@@ -906,7 +906,7 @@ config ADK_TARGET_CPU_NIOS2
select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
- select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
depends on ADK_TARGET_ARCH_NIOS2
# openrisc
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index efc22490d..ba71d590e 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -3,8 +3,28 @@
choice
depends on ADK_TARGET_OS_LINUX
+prompt "Library support"
+
+config ADK_TARGET_USE_SHARED_LIBS_ONLY
+ bool "Create shared libraries only and link dynamically"
+
+config ADK_TARGET_USE_STATIC_LIBS_ONLY
+ bool "Create static libraries only and link statically"
+ select BUSYBOX_STATIC
+ depends on !ADK_TARGET_BINFMT_FLAT && !ADK_TARGET_BINFMT_DSBT
+ help
+ Useful for debugging of dynamic linker problems. Be aware of the fact, that uClibc and glibc
+ still requires libgcc_so.so.1 for pthread_cancel. Glibc also requires libnss_*.so libraries
+ at runtime. Full static builds are only supported for musl libc.
+
+config ADK_TARGET_USE_SHARED_AND_STATIC_LIBS
+ bool "Create shared and static libraries and link dynamically"
+
+endchoice
+
+choice
+depends on ADK_TARGET_OS_LINUX
prompt "Iconv implementation"
-bool
default ADK_TARGET_WITHOUT_ICONV if ADK_TARGET_WITHOUT_MMU
config ADK_TARGET_LIBICONV_TINY
@@ -71,7 +91,6 @@ endmenu
menu "Advanced Toolchain options"
-
config ADK_TOOLCHAIN_WITH_SSP
bool
@@ -131,15 +150,6 @@ config ADK_DEBUG_STRIP
All packages and C library will be compiled with debug information,
but stripped for the target.
-config ADK_TARGET_USE_STATIC_LIBS
- bool "Create static libraries and link applications statically for target"
- select BUSYBOX_STATIC
- depends on !ADK_TARGET_BINFMT_FLAT && !ADK_TARGET_BINFMT_DSBT
- help
- Useful for debugging of dynamic linker problems. Be aware of the fact, that uClibc and glibc
- still requires libgcc_so.so.1 for pthread_cancel. Glibc also requires libnss_*.so libraries
- at runtime. Full static builds are only supported for musl libc.
-
config ADK_STATIC_TOOLCHAIN
bool "Build the toolchain components statically (portable host binaries)"
help