[openwrt/openwrt] sdk: expose PATENTED an NLS build options
LEDE Commits
lede-commits at lists.infradead.org
Sun Apr 2 16:49:48 PDT 2023
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/7531ef7f1c666e5a2bf2aa9d48bc6aadecb6ec8c
commit 7531ef7f1c666e5a2bf2aa9d48bc6aadecb6ec8c
Author: Tomasz Maciej Nowak <tmn505 at gmail.com>
AuthorDate: Fri Feb 17 14:21:01 2023 +0100
sdk: expose PATENTED an NLS build options
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 at gmail.com>
(cherry picked from commit 477ff0821a5e532adc0861d4093029967f5e1178)
---
target/sdk/files/Config.in | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/target/sdk/files/Config.in b/target/sdk/files/Config.in
index 12c0f6a624..19697c6810 100644
--- a/target/sdk/files/Config.in
+++ b/target/sdk/files/Config.in
@@ -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
More information about the lede-commits
mailing list