hostapd: add support for authenticating with multiple PSKs via ubus helper
[openwrt/staging/nbd.git] / config / Config-build.in
index df2d9101ca99c91fc8cf727f81bd636f67994fa1..292899df6bbd7c44ee89947e951a2d3cbe5b64e2 100644 (file)
@@ -26,6 +26,14 @@ menu "Global build settings"
                  directory containing machine readable list of built profiles
                  and resulting images.
 
                  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
        config ALL_NONSHARED
                bool "Select all target specific packages by default"
                select ALL_KMODS
@@ -60,6 +68,9 @@ menu "Global build settings"
                bool "Enable TLS certificate verification during package download"
                default y
 
                bool "Enable TLS certificate verification during package download"
                default y
 
+       config USE_APK
+               bool "Use APK instead of OPKG to build distribution (EXPERIMENTAL)"
+
        comment "General build options"
 
        config TESTING_KERNEL
        comment "General build options"
 
        config TESTING_KERNEL
@@ -159,6 +170,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
 
                  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
 
        config IPV6
                def_bool y
 
@@ -182,7 +206,6 @@ menu "Global build settings"
                        help
                          This will install binaries stripped using strip from binutils.
 
                        help
                          This will install binaries stripped using strip from binutils.
 
-
                config USE_SSTRIP
                        bool "sstrip"
                        depends on !USE_GLIBC
                config USE_SSTRIP
                        bool "sstrip"
                        depends on !USE_GLIBC
@@ -199,16 +222,16 @@ menu "Global build settings"
                help
                  Specifies arguments passed to the strip command when stripping binaries.
 
                help
                  Specifies arguments passed to the strip command when stripping binaries.
 
-       config SSTRIP_ARGS
-               string
-               prompt "Sstrip arguments"
-               depends on USE_SSTRIP
-               default "-z"
+       config SSTRIP_DISCARD_TRAILING_ZEROES
+               bool "Strip trailing zero bytes"
+               depends on USE_SSTRIP && !USE_MOLD
+               default y
                help
                help
-                 Specifies arguments passed to the sstrip command when stripping binaries.
+                 Use sstrip's -z option to discard trailing zero bytes
 
        config STRIP_KERNEL_EXPORTS
                bool "Strip unnecessary exports from the kernel image"
 
        config STRIP_KERNEL_EXPORTS
                bool "Strip unnecessary exports from the kernel image"
+               depends on !LINUX_6_6
                help
                  Reduces kernel size by stripping unused kernel exports from the kernel
                  image.  Note that this might make the kernel incompatible with any kernel
                help
                  Reduces kernel size by stripping unused kernel exports from the kernel
                  image.  Note that this might make the kernel incompatible with any kernel
@@ -274,6 +297,8 @@ menu "Global build settings"
                        bool "Regular"
                config PKG_CC_STACKPROTECTOR_STRONG
                        bool "Strong"
                        bool "Regular"
                config PKG_CC_STACKPROTECTOR_STRONG
                        bool "Strong"
+               config PKG_CC_STACKPROTECTOR_ALL
+                       bool "All"
        endchoice
 
        choice
        endchoice
 
        choice