From patchwork Fri May 14 23:04:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Adair X-Patchwork-Id: 1478741 X-Patchwork-Delegate: hauke@hauke-m.de 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=Db4fq/XK; 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 4Fhkfb5S1Gz9sWC for ; Sat, 15 May 2021 09:06:15 +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=znoAgTK9EDTMZ8vqBgLvhnE0z+AtbapOw/JYgA5Eow4=; b=Db4fq/XK7N6SgqicFolenWtzy TLNTN3TcZEfYpkSHL+HJg5//Wyfbd2usuuehJGfd5h+jlqUpdMj/dTIgxDb96hwqJTn791ImU3uam L+OAE52zc4cBIUka9IKkPzS15xI2ElWdFStW6PJMp6Pfud+CKi6RTzwqOJOGvyNhmT/MwrlMCx0va sqOqHvrr9WTnAByXfjK8dprFvwsRlo2qPDW6f0+a++fIDIsylqa7ZusIj353kKyBhvD/8TA+Q0xWy vhLrvw4Cy9XhNUCzShmVYrT7dvnfqwYmL5sCQ/VVbrqmO7b2A25w0+eZau1WTqtx26XFEA5Y0vgXO 8nvkmwCyA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhgrH-009EGN-Ru; Fri, 14 May 2021 23:04:39 +0000 Subject: [PATCH 1/3] ccache: Build with ENABLE_DOCUMENTATION=OFF To: openwrt-devel@lists.openwrt.org Date: Fri, 14 May 2021 16:04:27 -0700 In-Reply-To: <7ccbf4ea6c521d368ed1f8f7b2bf7f9c6b75931a.camel@aol.com> References: <9652859e694fdef8dc3955e83d47439ddaf0e607.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 adjusts the Makefile to use the new option to turn off the doc builds. It will not cause any problems except a warning about unused options if combined with a ccache source missing the upstream patch. Since a config setting is required to re-enable the doc build this is equivalent to unconditionally disabling the docs if the config setting is not created. Signed-off-by: David Adair --- tools/ccache/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile index ff0204ae19..c69e26bd23 100644 --- a/tools/ccache/Makefile +++ b/tools/ccache/Makefile @@ -25,6 +25,9 @@ CMAKE_HOST_OPTIONS += \ -DCMAKE_SKIP_RPATH=FALSE \ -DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" \ +ifneq (docs-$(CONFIG_BUILD_DOCUMENTATION),docs-y) +CMAKE_HOST_OPTIONS += -DENABLE_DOCUMENTATION=OFF +endif define Host/Install/ccache $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/