X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=toolchain%2FConfig.in;h=32de4b16473aa494cf9102eb251e8a0ddf18d720;hb=ff3f28265f2b963404c6705834eeddb93809c050;hp=3ff48048c5b1bb50e6f7bf795fc819c6805bfa55;hpb=36bc85648ba283fbee258361cbbb0db7ac6ed0e0;p=oweals%2Fopenwrt.git diff --git a/toolchain/Config.in b/toolchain/Config.in index 3ff48048c5..32de4b1647 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -86,11 +86,6 @@ menuconfig TOOLCHAINOPTS bool "Toolchain Options" if DEVEL depends NEED_TOOLCHAIN -config EABI_SUPPORT - bool - depends arm||armeb - default y - menuconfig EXTRA_TARGET_ARCH bool prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS @@ -147,26 +142,26 @@ choice bool "Use eglibc" depends !avr32 - config USE_GLIBC - bool "Use glibc" - depends !avr32 - config USE_UCLIBC bool "Use uClibc" + config USE_MUSL + bool "Use musl" + endchoice source "toolchain/eglibc/Config.in" -source "toolchain/glibc/Config.in" source "toolchain/uClibc/Config.in" +source "toolchain/musl/Config.in" comment "Debuggers" depends TOOLCHAINOPTS config GDB bool + depends !avr32 prompt "Build gdb" if TOOLCHAINOPTS - default n + default y help Enable if you want to build the gdb @@ -180,30 +175,35 @@ config INSIGHT config USE_UCLIBC bool - default y if !TOOLCHAINOPTS + default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN + +config USE_EXTERNAL_LIBC + bool + default y if EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN source "toolchain/gcc/Config.version" source "toolchain/eglibc/Config.version" -source "toolchain/glibc/Config.version" source "toolchain/uClibc/Config.version" +source "toolchain/musl/Config.version" config LIBC string default "eglibc" if USE_EGLIBC - default "glibc" if USE_GLIBC default "uClibc" if USE_UCLIBC + default "musl" if USE_MUSL config LIBC_VERSION string default EGLIBC_VERSION if USE_EGLIBC - default GLIBC_VERSION if USE_GLIBC default UCLIBC_VERSION if USE_UCLIBC + default MUSL_VERSION if USE_MUSL config TARGET_SUFFIX string - default "gnueabi" if (USE_EGLIBC || USE_GLIBC) && EABI_SUPPORT - default "gnu" if (USE_EGLIBC || USE_GLIBC) && !EABI_SUPPORT - default "uclibcgnueabi" if USE_UCLIBC && EABI_SUPPORT - default "uclibc" if USE_UCLIBC && !EABI_SUPPORT - + default "gnueabi" if USE_EGLIBC && (arm || armeb) + default "gnu" if USE_EGLIBC && !(arm || armeb) + default "uclibcgnueabi" if USE_UCLIBC && (arm || armeb) + default "uclibc" if USE_UCLIBC && !(arm || armeb) + default "muslgnueabi" if USE_MUSL && (arm || armeb) + default "musl" if USE_MUSL && !(arm || armeb)