summaryrefslogtreecommitdiff
path: root/target/config/Config.in.libs
blob: 2c58188ce4dec13baa16e43ec50d17257418c38a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

choice
depends on ADK_TARGET_OS_LINUX && !ADK_TARGET_CHOOSE_ARCH
bool "Library support"

config ADK_TARGET_USE_SHARED_LIBS_ONLY
	bool "Create shared libraries only and link dynamically"
	depends on !ADK_TARGET_BINFMT_FLAT

config ADK_TARGET_USE_STATIC_LIBS_ONLY
	bool "Create static libraries only and link statically"
	select BUSYBOX_STATIC
	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"
	depends on !ADK_TARGET_BINFMT_FLAT

config ADK_TARGET_USE_STATIC_AND_SHARED_LIBS
	bool "Create static and shared libraries and link statically"
	depends on !ADK_TARGET_BINFMT_FLAT

endchoice