From 08317fa541a10bd2e385479d73e99348cc2351dd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 25 May 2018 13:36:17 +0200 Subject: rework hardware and C library settings Make the menu system for configuration more intuitive. First choose operating system, then hardware, starting with architecture. Then choose either generic or a sample system. When choosing a sample be more strict in case of MMU or Endianess selection, so a misconfiguration isn't possible. Furthermore put a new top level menu for C library configuration and add Binary format, Instruction set, version selection, float type and any C library specific options. Refactor the duplicate definition of Qemu system versatile and Synopsys NSIM. --- target/config/Config.in.libs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 target/config/Config.in.libs (limited to 'target/config/Config.in.libs') diff --git a/target/config/Config.in.libs b/target/config/Config.in.libs new file mode 100644 index 000000000..46734c842 --- /dev/null +++ b/target/config/Config.in.libs @@ -0,0 +1,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_OS_WALDUX +bool "Library support" + +config ADK_TARGET_USE_SHARED_LIBS_ONLY + bool "Create shared libraries only and link dynamically" + depends on !ADK_TARGET_BINFMT_FLAT && !ADK_TARGET_BINFMT_DSBT + +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 && !ADK_TARGET_BINFMT_DSBT + +config ADK_TARGET_USE_STATIC_AND_SHARED_LIBS + bool "Create static and shared libraries and link statically" + depends on !ADK_TARGET_BINFMT_FLAT && !ADK_TARGET_BINFMT_DSBT + +endchoice -- cgit v1.2.3