Add an option to default the default build rule to parallel build.
[openwrt/staging/mkresin.git] / Config.in
index 85d3adf9fd8720436aae65d0fcf3c46bfcef9a3e..c750a253308ddf93fb00b4b3ae573e5e32332d51 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -247,6 +247,20 @@ menu "Global build settings"
                help
                  The number of jobs (-jX) to pass to packages submake.
 
+       config PKG_DEFAULT_PARALLEL
+               bool
+               prompt "Always parallelize the default package build rule (Dangerous)"
+               depends on PKG_BUILD_PARALLEL
+               default n
+               help
+                 Always set the default package build rules to parallel build.
+
+                 WARNING: This may break build or kill your cat, as it builds
+                 packages with multiple jobs that are probably not tested in
+                 a parallel build environment.
+
+                 Say N. Only say Y for testing.
+
        comment "Stripping options"
 
        choice