From patchwork Fri May 14 23:10:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Adair X-Patchwork-Id: 1478742 X-Patchwork-Delegate: ynezz@true.cz Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=pju3mMSm; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fhkp23Zwyz9sWC for ; Sat, 15 May 2021 09:12:39 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Type:List-Help: Reply-To:List-Archive:List-Unsubscribe:List-Subscribe:From:List-Post:List-Id: Message-ID:MIME-Version:References:In-Reply-To:Date:To:Subject:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eWOhm3J7ym7cGDAnV/VDB56TPnCeete+lCmzdDxvk9I=; b=pju3mMSmn4lu7LCWaVUWDtJr4 N4wmiZI79HKU3LkadW3GGscHp1WjIDoL3Mu2ppeJKZT5pWx+yxEHtmV+ectol7ilAxWepXh66Ka9X 446TOpOL3lsWvE7I9aLD7Hq18ngjHgiyAtGTmjMRWgy8JllMKg6DpiPpd70C85LKTys7s8j8l2NpT Lap/abc/OpYTWQNJD9O1YnZK8yursohuZFHEzJCMS3qXAFzCQ2Q6EsSFQw6KEk38XZ8X1o/S4d72M zqEuff2I03n62M/n3NRXJ8MfgAmKbpH8ysehCNQvq+748DT2GJv+a1D37Icwmmyvmm8/WKZr1kGcc 41rAZ56og==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhgxS-009Eoi-LQ; Fri, 14 May 2021 23:11:04 +0000 Subject: [PATCH 2/3] menuconfig: Add CONFIG_BUILD_DOCUMENTATION To: openwrt-devel@lists.openwrt.org Date: Fri, 14 May 2021 16:10:53 -0700 In-Reply-To: <7ccbf4ea6c521d368ed1f8f7b2bf7f9c6b75931a.camel@aol.com> References: <42c2b89dc76f682bbd28f858b83100104c797e17.camel.ref@aol.com> MIME-Version: 1.0 Message-ID: List-Id: OpenWrt Development List List-Post: X-Patchwork-Original-From: David Adair via openwrt-devel From: David Adair Precedence: list X-Mailman-Version: 2.1.34 X-BeenThere: openwrt-devel@lists.openwrt.org List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: David Adair List-Help: Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software. This provides a way to override the ccache ENABLE_DOCUMENTATION=OFF setting and restore previous behavior. It is optional since the default required to disable the doc build (and avoid the non-ascii character build failures) is !="y". It could potentially be useful: - If we want the default to be "y" - To supress docs on other packages. Would be most useful for the autoconf based tools but I could not figure out an easy way to accomplish that. Signed-off-by: David Adair --- config/Config-build.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/Config-build.in b/config/Config-build.in index 342859b7c0..adfb39d1b2 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -58,6 +58,15 @@ menu "Global build settings" bool "Enable signature checking in opkg" default SIGNED_PACKAGES + config BUILD_DOCUMENTATION + bool "Enable man/info components in builds" + default n + help + This option enables the build of doc and man pages in + components which allow conditional building of docs. + If unsure select "n" since we do not install + documentation in the target anyway. + comment "General build options" config TESTING_KERNEL