diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-05 12:51:42 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-07 06:42:57 +0100 |
commit | c384dc577bd32f3315bacb410fc31610b41f742c (patch) | |
tree | 903aaed00f4b82d5e1eada2bd4fea8a7f3387ded /target/config/Config.in.libc | |
parent | 68d4e79f35039b31ae835e82241a567b0ad66aa8 (diff) |
rework menu based config system
After the addition of bare metal toolchains the menu system allowed
to create non-valid configurations. I reworked it so we can also
add other operating system support if we wish.
So first you choose your operating system, then your architecture
and endianess, after that your embedded system, emulator or
generic device and then you choose your task you want to run.
Tasks may be toolchain, a new appliance/application or some preconfigured
sets of packages and configurations as kodi, mpd, firefox and more.
The tasks are limited to a plausible choice of hardware and software.
Deduplicate CPU configuration.
You don't wanna compile Kodi for a H8/300 microcontroller ;)
Diffstat (limited to 'target/config/Config.in.libc')
-rw-r--r-- | target/config/Config.in.libc | 78 |
1 files changed, 52 insertions, 26 deletions
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc index 6e0f06f6c..91cba9769 100644 --- a/target/config/Config.in.libc +++ b/target/config/Config.in.libc @@ -3,50 +3,75 @@ choice prompt "C library" +default ADK_TARGET_LIB_UCLIBC_NG if ADK_TARGET_OS_LINUX config ADK_TARGET_LIB_UCLIBC_NG bool "uClibc-ng embedded C library" - depends on \ - !ADK_TARGET_ARCH_AARCH64 && \ - !ADK_TARGET_ARCH_MOXIE && \ - !ADK_TARGET_ARCH_NDS32 && \ - !ADK_TARGET_ARCH_S390 && \ - !ADK_TARGET_ARCH_SPARC64 && \ - !ADK_TARGET_ARCH_PPC64 && \ - !ADK_TARGET_ARCH_TILE && \ - !ADK_TARGET_ARCH_V850 + depends on (\ + ADK_TARGET_ARCH_ALPHA || \ + ADK_TARGET_ARCH_ARC || \ + ADK_TARGET_ARCH_ARM || \ + ADK_TARGET_ARCH_AVR32 || \ + ADK_TARGET_ARCH_BFIN || \ + ADK_TARGET_ARCH_C6X || \ + ADK_TARGET_ARCH_CRIS || \ + ADK_TARGET_ARCH_FRV || \ + ADK_TARGET_ARCH_H8300 || \ + ADK_TARGET_ARCH_HPPA || \ + ADK_TARGET_ARCH_IA64 || \ + ADK_TARGET_ARCH_LM32 || \ + ADK_TARGET_ARCH_M68K || \ + ADK_TARGET_ARCH_METAG || \ + ADK_TARGET_ARCH_MICROBLAZE || \ + ADK_TARGET_ARCH_MIPS || \ + ADK_TARGET_ARCH_MIPS64 || \ + ADK_TARGET_ARCH_NIOS2 || \ + ADK_TARGET_ARCH_OR1K || \ + ADK_TARGET_ARCH_PPC || \ + ADK_TARGET_ARCH_SH || \ + ADK_TARGET_ARCH_SPARC || \ + ADK_TARGET_ARCH_X86 || \ + ADK_TARGET_ARCH_X86_64 || \ + ADK_TARGET_ARCH_XTENSA) && ADK_TARGET_OS_LINUX help http://uclibc-ng.org config ADK_TARGET_LIB_MUSL bool "musl C library" - depends on !ADK_TARGET_UCLINUX - depends on \ + depends on (\ ADK_TARGET_ARCH_AARCH64 || \ ADK_TARGET_ARCH_ARM || \ ADK_TARGET_ARCH_MICROBLAZE || \ ADK_TARGET_ARCH_MIPS || \ + ADK_TARGET_ARCH_MIPS64 || \ ADK_TARGET_ARCH_OR1K || \ ADK_TARGET_ARCH_PPC || \ ADK_TARGET_ARCH_SH || \ ADK_TARGET_ARCH_X86 || \ - ADK_TARGET_ARCH_X86_64 + ADK_TARGET_ARCH_X86_64) && ADK_TARGET_OS_LINUX help http://musl-libc.org config ADK_TARGET_LIB_GLIBC bool "GNU C library" - depends on !ADK_TARGET_ARCH_ARC - depends on !ADK_TARGET_ARCH_AVR32 - depends on !ADK_TARGET_ARCH_BFIN - depends on !ADK_TARGET_ARCH_CRIS - depends on !ADK_TARGET_ARCH_H8300 - depends on !ADK_TARGET_ARCH_MOXIE - depends on !ADK_TARGET_ARCH_NDS32 - depends on !ADK_TARGET_ARCH_SPARC - depends on !ADK_TARGET_ARCH_XTENSA - depends on !ADK_TARGET_UCLINUX - depends on !ADK_TARGET_WITHOUT_MMU + depends on (\ + ADK_TARGET_ARCH_AARCH64 || \ + ADK_TARGET_ARCH_ALPHA || \ + ADK_TARGET_ARCH_ARM || \ + ADK_TARGET_ARCH_HPPA || \ + ADK_TARGET_ARCH_IA64 || \ + ADK_TARGET_ARCH_MICROBLAZE || \ + ADK_TARGET_ARCH_MIPS || \ + ADK_TARGET_ARCH_MIPS64 || \ + ADK_TARGET_ARCH_NIOS2 || \ + ADK_TARGET_ARCH_PPC || \ + ADK_TARGET_ARCH_PPC64 || \ + ADK_TARGET_ARCH_S390 || \ + ADK_TARGET_ARCH_SH || \ + ADK_TARGET_ARCH_SPARC64 || \ + ADK_TARGET_ARCH_TILE || \ + ADK_TARGET_ARCH_X86 || \ + ADK_TARGET_ARCH_X86_64) && ADK_TARGET_OS_LINUX help http://www.gnu.org/libc @@ -54,7 +79,7 @@ config ADK_TARGET_LIB_NEWLIB bool "newlib C library" select ADK_TARGET_WITHOUT_CXX select ADK_TARGET_WITHOUT_THREADS - depends on \ + depends on (\ ADK_TARGET_ARCH_AARCH64 || \ ADK_TARGET_ARCH_ARC || \ ADK_TARGET_ARCH_ARM || \ @@ -65,14 +90,15 @@ config ADK_TARGET_LIB_NEWLIB ADK_TARGET_ARCH_LM32 || \ ADK_TARGET_ARCH_MICROBLAZE || \ ADK_TARGET_ARCH_MIPS || \ - ADK_TARGET_ARCH_NIOS2 || \ ADK_TARGET_ARCH_MOXIE || \ + ADK_TARGET_ARCH_NIOS2 || \ ADK_TARGET_ARCH_NDS32 || \ ADK_TARGET_ARCH_OR1K || \ ADK_TARGET_ARCH_PPC || \ ADK_TARGET_ARCH_SPARC || \ ADK_TARGET_ARCH_V850 || \ - ADK_TARGET_ARCH_X86 + ADK_TARGET_ARCH_X86 || \ + ADK_TARGET_ARCH_XTENSA) && ADK_TARGET_OS_BAREMETAL help https://sourceware.org/newlib/ |