disable sstrip when using musl
[openwrt/openwrt.git] / Config.in
index c023d607937e0ab20e10b40cbe52c18c5a5e3a1f..8a004127513431882f9e8b16e3b952d75d59d463 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -125,6 +125,13 @@ menu "Target Images"
                help
                    Allows you to change the maximum number of inodes in the root filesystem
 
+       config TARGET_ROOTFS_RESERVED_PCT
+               int "Percentage of reserved blocks in root filesystem"
+               depends TARGET_ROOTFS_EXT4FS
+               default 5
+               help
+                   Allows you to change the percentage of reserved blocks in the root filesystem
+
 endmenu
 
 menu "Global build settings"
@@ -495,20 +502,6 @@ menu "Global build settings"
                  Only say Y, if you don't mind fixing broken packages.
                  Before reporting build bugs, set this to N and re-run the build.
 
-       config TOOLCHAIN_PARALLEL
-               bool
-               prompt "Parallelize the toolchain build (May break build)"
-               depends on PKG_BUILD_PARALLEL
-               depends on BROKEN
-               default n
-               help
-                 Build the toolchain with parallel make jobs.
-                 This speeds up the toolchain build on SMP machines, but may
-                 break the build for certain toolchain versions.
-
-                 If you say Y, toolchain build might break.
-                 Before reporting build bugs, set this to N and re-run the build.
-
        comment "Stripping options"
 
        choice
@@ -535,6 +528,7 @@ menu "Global build settings"
                        depends !DEBUG
                        depends !USE_GLIBC
                        depends !USE_EGLIBC
+                       depends !USE_MUSL
                        help
                          This will install binaries stripped using sstrip
        endchoice
@@ -563,20 +557,21 @@ menu "Global build settings"
                  Note that this will make the system libraries incompatible with most of the packages
                  that are not selected during the build process
 
-       choice
-               prompt "Preferred standard C++ library"
-               default USE_LIBSTDCXX if USE_EGLIBC
-               default USE_UCLIBCXX
-               help
-                 Select the preferred standard C++ library for all packages that support this.
-
-               config USE_UCLIBCXX
-                       bool "uClibc++"
+       if INSTALL_LIBSTDCPP
+               choice
+                       prompt "Preferred standard C++ library"
+                       default USE_LIBSTDCXX if USE_EGLIBC
+                       default USE_UCLIBCXX
+                       help
+                         Select the preferred standard C++ library for all packages that support this.
 
-               config USE_LIBSTDCXX
-                       bool "libstdc++"
+                       config USE_UCLIBCXX
+                               bool "uClibc++"
 
-       endchoice
+                       config USE_LIBSTDCXX
+                               bool "libstdc++"
+               endchoice
+       endif
 
 endmenu