toolchain: switch to musl by default, except for mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45995
This commit is contained in:
parent
aaf4aea141
commit
a778060392
2 changed files with 5 additions and 5 deletions
2
rules.mk
2
rules.mk
|
@ -89,7 +89,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
|
||||||
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-openwrt-linux$(if $(TARGET_SUFFIX),-$(TARGET_SUFFIX))
|
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-openwrt-linux$(if $(TARGET_SUFFIX),-$(TARGET_SUFFIX))
|
||||||
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-openwrt-linux
|
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-openwrt-linux
|
||||||
DIR_SUFFIX:=_$(LIBC)-$(LIBCV)$(if $(CONFIG_arm),_eabi)
|
DIR_SUFFIX:=_$(LIBC)-$(LIBCV)$(if $(CONFIG_arm),_eabi)
|
||||||
BIN_DIR:=$(BIN_DIR)$(if $(CONFIG_USE_UCLIBC),,-$(LIBC))
|
BIN_DIR:=$(BIN_DIR)$(if $(CONFIG_USE_MUSL),,-$(LIBC))
|
||||||
TARGET_DIR_NAME = target-$(ARCH)$(ARCH_SUFFIX)$(DIR_SUFFIX)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))
|
TARGET_DIR_NAME = target-$(ARCH)$(ARCH_SUFFIX)$(DIR_SUFFIX)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))
|
||||||
TOOLCHAIN_DIR_NAME = toolchain-$(ARCH)$(ARCH_SUFFIX)_gcc-$(GCCV)$(DIR_SUFFIX)
|
TOOLCHAIN_DIR_NAME = toolchain-$(ARCH)$(ARCH_SUFFIX)_gcc-$(GCCV)$(DIR_SUFFIX)
|
||||||
else
|
else
|
||||||
|
|
|
@ -211,8 +211,8 @@ comment "C Library"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "C Library implementation" if TOOLCHAINOPTS
|
prompt "C Library implementation" if TOOLCHAINOPTS
|
||||||
default LIBC_USE_GLIBC if (aarch64 || aarch64_be)
|
default LIBC_USE_UCLIBC if mips64 || mips64el
|
||||||
default LIBC_USE_UCLIBC
|
default LIBC_USE_MUSL
|
||||||
help
|
help
|
||||||
Select the C library implementation.
|
Select the C library implementation.
|
||||||
|
|
||||||
|
@ -257,13 +257,13 @@ config INSIGHT
|
||||||
|
|
||||||
config USE_GLIBC
|
config USE_GLIBC
|
||||||
bool
|
bool
|
||||||
default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && (aarch64 || aarch64_be || octeon)
|
|
||||||
|
|
||||||
config USE_UCLIBC
|
config USE_UCLIBC
|
||||||
|
default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && (mips64 || mips64el)
|
||||||
bool
|
bool
|
||||||
default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(aarch64 || aarch64_be || octeon)
|
|
||||||
|
|
||||||
config USE_MUSL
|
config USE_MUSL
|
||||||
|
default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(mips64 || mips64el)
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config USE_EXTERNAL_LIBC
|
config USE_EXTERNAL_LIBC
|
||||||
|
|
Loading…
Reference in a new issue