diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-27 22:19:21 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-27 22:20:13 +0100 |
commit | 739d512289d14ade82e9fbae7f4371e65989622f (patch) | |
tree | 66c17c7e39a041169e08ea7137f072e3b65ab945 /target/config/Config.in.toolchain | |
parent | d47894abb5304cf3bb30b3669e596d648b5277ba (diff) |
add three library methods, static, shared or both
Rename the static symbol and add the choice to a more
visible place for users.
Diffstat (limited to 'target/config/Config.in.toolchain')
-rw-r--r-- | target/config/Config.in.toolchain | 32 |
1 files changed, 21 insertions, 11 deletions
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 |