summaryrefslogtreecommitdiffstats
path: root/target/sdk
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tmn505@gmail.com>2023-02-17 14:21:01 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-03-05 18:31:21 +0100
commit477ff0821a5e532adc0861d4093029967f5e1178 (patch)
tree0d6633fb4e89a7a5b541de655b6d3347ba3b7f07 /target/sdk
parent5a1eb3bb2c27ede3046bb2977008c74a04681db9 (diff)
downloadopenwrt-477ff0821a5e532adc0861d4093029967f5e1178.tar.gz
openwrt-477ff0821a5e532adc0861d4093029967f5e1178.tar.bz2
openwrt-477ff0821a5e532adc0861d4093029967f5e1178.zip
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@gmail.com>
Diffstat (limited to 'target/sdk')
-rw-r--r--target/sdk/files/Config.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/sdk/files/Config.in b/target/sdk/files/Config.in
index 7926e12426..a14c17fe95 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