hostapd: fix OWE ssid update on configuration changes
[openwrt/openwrt.git] / config / Config-build.in
index f8d0f8e0bd238d2cdbef263b1539ee6aeed0647a..41c1daccd99564e001722f0f0769a53bdf55a726 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
@@ -60,6 +68,10 @@ menu "Global build settings"
                bool "Enable TLS certificate verification during package download"
                default y
 
+       config USE_APK
+               imply PACKAGE_apk-mbedtls
+               bool "Use APK instead of OPKG to build distribution (EXPERIMENTAL)"
+
        comment "General build options"
 
        config TESTING_KERNEL
@@ -102,6 +114,7 @@ menu "Global build settings"
        config IPK_FILES_CHECKSUMS
                bool
                prompt "Record files checksums in package metadata"
+               depends on !USE_APK
                help
                  This makes file checksums part of package metadata. It increases size
                  but provides you with pkg_check command to check for flash corruptions.
@@ -159,6 +172,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,13 +226,14 @@ 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
 
        config STRIP_KERNEL_EXPORTS
                bool "Strip unnecessary exports from the kernel image"
+               depends on BROKEN
                help
                  Reduces kernel size by stripping unused kernel exports from the kernel
                  image.  Note that this might make the kernel incompatible with any kernel
@@ -272,6 +299,8 @@ menu "Global build settings"
                        bool "Regular"
                config PKG_CC_STACKPROTECTOR_STRONG
                        bool "Strong"
+               config PKG_CC_STACKPROTECTOR_ALL
+                       bool "All"
        endchoice
 
        choice