toolchain: Remove powerpc64 libc restriction
[openwrt/staging/chunkeey.git] / toolchain / Config.in
index bf7b9c33d02c277b985d55c9a97b45c3652897db..faff3c8fbb2ac0bc312df87ef3bb64bdb744ba45 100644 (file)
@@ -42,7 +42,7 @@ menuconfig EXTERNAL_TOOLCHAIN
        bool
        prompt "Use external toolchain"  if DEVEL
        help
-         If enabled, LEDE will compile using an existing toolchain instead of
+         If enabled, the buildroot will compile using an existing toolchain instead of
          compiling one.
 
        config NATIVE_TOOLCHAIN
@@ -51,7 +51,7 @@ menuconfig EXTERNAL_TOOLCHAIN
                depends on EXTERNAL_TOOLCHAIN
                select NO_STRIP
                help
-                 If enabled, LEDE will compile using the native toolchain for your
+                 If enabled, the buildroot will compile using the native toolchain for your
                  host instead of compiling one.
 
        config TARGET_NAME
@@ -224,13 +224,13 @@ comment "Compiler"
 
 source "toolchain/gcc/Config.in"
 
-config YASM
+config NASM
        bool
        depends on ( i386 || x86_64 )
-       prompt "Build yasm" if TOOLCHAINOPTS
+       prompt "Build nasm" if TOOLCHAINOPTS
        default y
        help
-         Enable if you want to build yasm
+         Enable if you want to build nasm
 
 comment "C Library"
        depends on TOOLCHAINOPTS
@@ -238,7 +238,6 @@ comment "C Library"
 choice
        prompt "C Library implementation" if TOOLCHAINOPTS
        default LIBC_USE_UCLIBC if arc
-       default LIBC_USE_GLIBC if powerpc64
        default LIBC_USE_MUSL
        help
          Select the C library implementation.
@@ -257,25 +256,24 @@ choice
        config LIBC_USE_MUSL
                select USE_MUSL
                bool "Use musl"
-               depends on !(arc || powerpc64)
+               depends on !arc
 
 endchoice
 
 source "toolchain/uClibc/Config.in"
+source "toolchain/musl/Config.in"
 
 comment "Debuggers"
        depends on TOOLCHAINOPTS
 
 config GDB
        bool
-       depends on !(aarch64 || aarch64_be)
        prompt "Build gdb" if TOOLCHAINOPTS
        default y if !EXTERNAL_TOOLCHAIN
        help
          Enable if you want to build the gdb.
 
 config USE_GLIBC
-       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && (powerpc64)
        bool
 
 config USE_UCLIBC
@@ -283,7 +281,11 @@ config USE_UCLIBC
        bool
 
 config USE_MUSL
-       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(arc || powerpc64)
+       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(arc)
+       bool
+
+config SSP_SUPPORT
+       default y if USE_MUSL || GCC_LIBSSP
        bool
 
 config USE_EXTERNAL_LIBC