From patchwork Fri Feb 17 13:21:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Maciej Nowak X-Patchwork-Id: 1744227 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=AJ6jUaE2; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=terefe.re header.i=@terefe.re header.a=rsa-sha256 header.s=default header.b=sEyMbyiY; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PJCF06Tnqz23r4 for ; Sat, 18 Feb 2023 00:23:32 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DeHzR+HWblkzeNnSYKFwdCuJuea5zV3CkdBF+94rBfQ=; b=AJ6jUaE2plZbXi yUJQHJ4milpmi9/KLQOrqGrSz/ntJ9ZWkwsBco0CG/+Kn68ZRnrPthKrXsqmeO8ryeNOhIx7/QBq2 PqGJYM/qY/jeQOCXFgGfuK1UC4KKlTMNACZggZ4xEtYOsnNqt/hDQkg++SfPUkVRFA7BEMniHHVAU 6gNv/Gi7Gralf0xjSpNrUtJmyX5xTH2nL48OaZOE1pjxsNWUKZ/YeEYHU8/LbqlS3TawC5nMq6Uhq V4zxztGc0hCT1DEgQuHERhZXZ11pcSC17YfMtwjhRdZf0iS8Wc8pO9r7xVgYVxHl6cXcezEfDaQSU 0yTAd0fgBa8vy5WbAMow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pT0g2-00EGEG-9q; Fri, 17 Feb 2023 13:21:26 +0000 Received: from mail.terefe.re ([5.255.96.200]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pT0fx-00EGC9-Cz for openwrt-devel@lists.openwrt.org; Fri, 17 Feb 2023 13:21:23 +0000 Received: from localhost.localdomain (unknown [212.106.161.74]) by mail.terefe.re (Postfix) with ESMTPSA id 112862016F; Fri, 17 Feb 2023 14:21:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=terefe.re; s=default; t=1676640072; bh=rSjUvNA8oTuTudAwCDdWS60+UddWu1ZyIMal6D3+vQk=; h=From:To:Cc:Subject:Date:From; b=sEyMbyiYSzTXlhRcHPipD+HSu3kTNIGcC1EOMSMU9XpKN5BWYlxfGOFN8r/RA/qXJ bVr35+ESPHdN2TM6TwrgqCaHaR64RIOl6ogh53GX0j/SXrFDh+drR3W0VqF2atYJbU 3S5DXyH6sQzaeq3brdBAsXlXroM5GRUqBMNY1L/QFrw9V+63BfteyyPAfOQEYlqf+E ET8jL6LUGA3L8mXK1nT+ZKx9b5R0y6VXgR6Al6v/CxOf5yqOhZp5cMNRrs/Rh69ZBl VrqrFjfQePN8vHm1mHjVpzwW8IFdm2XSBeSvLwVe6pHLtiLdT3nZtQD2P7mNuOn/aU iUFxwpvoMkdYA== From: Tomasz Maciej Nowak To: openwrt-devel@lists.openwrt.org Cc: Tomasz Maciej Nowak Subject: [PATCH v2] sdk: expose PATENTED an NLS build options Date: Fri, 17 Feb 2023 14:21:01 +0100 Message-Id: <20230217132101.9251-1-tmn505@terefe.re> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230217_052121_910573_70F09D9F X-CRM114-Status: UNSURE ( 6.09 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Tomasz Maciej Nowak 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 [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org From: Tomasz Maciej Nowak 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 --- v1 -> v2 * drop uClibc from NLS help description, not supported anymore 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 7926e124265a..a14c17fe955b 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