build: add a config option for passing the top-level make jobserver to packages that...
[openwrt.git] / Config.in
index 5f61905..36ca488 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -153,6 +153,13 @@ menu "Global build settings"
                  When this option is enabled, packages are built with the full versions of iconv and GNU gettext
                  instead of the default OpenWrt stubs. If uClibc is used, it is also built with locale support.
 
+       config BUILD_STATIC_TOOLS
+               default n
+               bool "Attempt to link host utilities statically"
+               help
+                 Linking host utilities like sed or firmware-utils statically increases the portability of the
+                 generated ImageBuilder and SDK tarballs, however it may fail on some Linux distributions.
+
        config SHADOW_PASSWORDS
                bool
                prompt "Enable shadow password support"
@@ -304,12 +311,21 @@ menu "Global build settings"
 
                  If you are unsure, select N.
 
+       config PKG_BUILD_USE_JOBSERVER
+               bool
+               prompt "Use top-level make jobserver for packages"
+               depends on PKG_BUILD_PARALLEL
+               default y
+               help
+                 This passes the main make process jobserver fds to package builds,
+                 enabling full parallelization across different packages
+
        config PKG_BUILD_JOBS
                int
                prompt "Number of package submake jobs (2-512)"
                range 2 512
                default 2
-               depends on PKG_BUILD_PARALLEL
+               depends on PKG_BUILD_PARALLEL && !PKG_BUILD_USE_JOBSERVER
                help
                  The number of jobs (-jX) to pass to packages submake.
 
@@ -317,6 +333,7 @@ menu "Global build settings"
                bool
                prompt "Parallelize the default package build rule (May break build)"
                depends on PKG_BUILD_PARALLEL
+               depends on BROKEN
                default n
                help
                  Always set the default package build rules to parallel build.
@@ -332,6 +349,7 @@ menu "Global build settings"
                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.