ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / config / Config-build.in
index f8d0f8e0bd238d2cdbef263b1539ee6aeed0647a..24c2bcf13007c7bdf1cb4aba0ba8c390f3415998 100644 (file)
@@ -26,6 +26,14 @@ menu "Global build settings"
                  directory containing machine readable list of built profiles
                  and resulting images.
 
+       config JSON_CYCLONEDX_SBOM
+               bool "Create CycloneDX SBOM JSON"
+               default BUILDBOT
+               help
+                 Create a JSON files *.bom.cdx.json in the build
+                 directory containing Software Bill Of Materials in CycloneDX
+                 format.
+
        config ALL_NONSHARED
                bool "Select all target specific packages by default"
                select ALL_KMODS
@@ -159,6 +167,19 @@ menu "Global build settings"
                  Adds LTO flags to the CFLAGS and LDFLAGS.
                  Packages can choose to opt-out via setting PKG_BUILD_FLAGS:=no-lto
 
+       config MOLD
+               depends on (aarch64 || arm || i386 || i686 || m68k || powerpc || powerpc64 || sh4 || x86_64)
+               depends on !GCC_USE_VERSION_11
+               def_bool $(shell, ./config/check-hostcxx.sh 10 2 12)
+
+       config USE_MOLD
+               bool
+               prompt "Use the mold linker for all packages"
+               depends on MOLD
+               help
+                 Link packages with mold, a modern linker
+                 Packages can opt-out via setting PKG_BUILD_FLAGS:=no-mold
+
        config IPV6
                def_bool y
 
@@ -200,7 +221,7 @@ menu "Global build settings"
 
        config SSTRIP_DISCARD_TRAILING_ZEROES
                bool "Strip trailing zero bytes"
-               depends on USE_SSTRIP
+               depends on USE_SSTRIP && !USE_MOLD
                default y
                help
                  Use sstrip's -z option to discard trailing zero bytes
@@ -272,6 +293,8 @@ menu "Global build settings"
                        bool "Regular"
                config PKG_CC_STACKPROTECTOR_STRONG
                        bool "Strong"
+               config PKG_CC_STACKPROTECTOR_ALL
+                       bool "All"
        endchoice
 
        choice