sdk: expose PATENTED an NLS build options
authorTomasz Maciej Nowak <tmn505@gmail.com>
Fri, 17 Feb 2023 13:21:01 +0000 (14:21 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Mar 2023 17:31:21 +0000 (18:31 +0100)
Some packages offer functionalities guarded by these options and it'll
be impossible to reach them without changing Config-build.in. So allow
to toggle these in more friendly way, by exposing them in configuration
menu.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
target/sdk/files/Config.in

index 7926e124265af55f4a16ee8d40d03290d63c63f2..a14c17fe955ba3b2d5b3424fa02bb6279bc9ba51 100644 (file)
@@ -18,6 +18,23 @@ menu "Global build settings"
                bool "Cryptographically sign package lists"
                default y
 
+       comment "General build options"
+
+       config BUILD_PATENTED
+               default n
+               bool "Compile with support for patented functionality"
+               help
+                 When this option is disabled, software which provides patented functionality
+                 will not be built.  In case software provides optional support for patented
+                 functionality, this optional support will get disabled for this package.
+
+       config BUILD_NLS
+               default n
+               bool "Compile with full language support"
+               help
+                 When this option is enabled, packages are built with the full versions of
+                 iconv and GNU gettext instead of the default OpenWrt stubs.
+
        comment "Package build options"
 
        config DEBUG