From patchwork Mon Jun 5 04:57:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffery To X-Patchwork-Id: 1790214 X-Patchwork-Delegate: ynezz@true.cz 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=YlBFqwo8; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=cRpv7sR7; 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 4QZLzm2bllz20Tb for ; Mon, 5 Jun 2023 15:01:22 +1000 (AEST) 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=sqWVsAVsyuUUsskIECKNqvOmP2yVPU/1neEI4ocN6Xg=; b=YlBFqwo8l/5A5y ZuxtSlYYDbVtai/SvZ6kdYM5Wy+uMngjXtMhEA44b47G3+L8jX8htoN22WO7yqvHM+9w8PwFnqxRU LwJw7YeTmU+COribPLSVU7Te/uKqrHJ6ntpLrRYFpocdtWxeNBARgzc1G//KC6sv0mMRyXEgTzXrh f8mlaKnwzMli9STFtP90UraIRtNse0THcIpho/wnOPmXNsePyYUnbOLj1Ll9EpSNadGv/Cd1dq+pb HkYeTXIMXzF6FL2qTw5p+wwSomHGmA5B0cUL0osGZjoCYqOi2Y9rU7vbMTwf1FKCDJRBhril3uWP/ iKYZAHW8QnHwFFCaaUmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q62IF-00E8ml-1d; Mon, 05 Jun 2023 04:58:11 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q62IB-00E8lv-2k for openwrt-devel@lists.openwrt.org; Mon, 05 Jun 2023 04:58:09 +0000 Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-52cb8e5e9f5so2958051a12.0 for ; Sun, 04 Jun 2023 21:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685941081; x=1688533081; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UWqQPJfAkqSc4P4LgLXBPdjZ+VlEotdAEvKMhTIDPns=; b=cRpv7sR7dP9T5PmvnGhzfNv5V6VeRMrhgsZY+wC2B4zkl/DeAWNoxGedqMTzegw9lS 0T6wDMsg2HVpQDWnE8e1yiysSp3mTRDU99GYeh69k4fUYTdr13iFISpNNfSBsfOUP7gq VSQDoNZ5edw66PA4x2POekcitKA0gtxT/iw0Rm5MV/MunN5eshSgFBLP39XTH1r44Luw g8UJw1jpPHq4oANZd+mWeJFO/jlikwAuExjMBpXnSE5Ln7QTkfPXtX5anY5DaWzjKbQi e+VJEMc98dyZ3DSS+Rqzu8p/jo+nxx9sqiKj2A5NqF/tsFTW87wFevzZj/Q+G+3wjSm8 48Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685941081; x=1688533081; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UWqQPJfAkqSc4P4LgLXBPdjZ+VlEotdAEvKMhTIDPns=; b=A1lR0qQICg64Om8aI1rWsfeE8WsHKKWvgMjzKDCn6FjLLakBplctRXHxWVD8KPQsi+ YOt6GVFBOofyVNxqVijKlW/k0HbWkEjickTXlNwQMc3/3sari5oCBfr9/yxjyOaW4MD8 SOV00qrWB/Xfh+M2H3uMi8NifT2DJCUEtyzS4uGcAzWR567CJxGjLTsoWzT5qnxHVLXX 4Pgh2XsBGSPenKOXGzP2mvqHIol2Yi3eFBQEiDc7z42kF65VJejAA6QRQWsoMARNiEzN VZDBR5/msipAEFdFRaTGFhkH/7+MsdCsxYNz6ynUI430NA0BZfly9InjTbqTQo9imtwA y1Mg== X-Gm-Message-State: AC+VfDzWJ4UJEJh1lgUxTIzYHY7QWfZQtzqJWGgZq8BoEljZgyPA2Ruo zi/ljr20w8h07oik0DP131q8/JjcgZs= X-Google-Smtp-Source: ACHHUZ7FwwbA9Id5oOtMbNq6hT2OqT7XZNJPYQle2Fs1qiZcfoLOmDKCNKP0zLWzZmQ7gM212ue86g== X-Received: by 2002:a17:90a:8c0d:b0:253:2816:2a12 with SMTP id a13-20020a17090a8c0d00b0025328162a12mr6936047pjo.14.1685941080718; Sun, 04 Jun 2023 21:58:00 -0700 (PDT) Received: from computer.fishbiscuits ([78.156.70.6]) by smtp.gmail.com with ESMTPSA id nh1-20020a17090b364100b0025374fedab4sm6765226pjb.22.2023.06.04.21.57.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jun 2023 21:58:00 -0700 (PDT) From: Jeffery To To: openwrt-devel@lists.openwrt.org Cc: Jeffery To Subject: [PATCH] sdk: Expose CCACHE_DIR option Date: Mon, 5 Jun 2023 12:57:51 +0800 Message-Id: <20230605045751.180275-1-jeffery.to@gmail.com> 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-20230604_215807_893634_C80178C2 X-CRM114-Status: UNSURE ( 7.05 ) 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: As the CCACHE option is already exposed, it would be helpful to also make the ccache directory easily customizable. Signed-off-by: Jeffery To --- target/sdk/files/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:536 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jeffery.to[at]gmail.com] -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 As the CCACHE option is already exposed, it would be helpful to also make the ccache directory easily customizable. Signed-off-by: Jeffery To --- target/sdk/files/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/target/sdk/files/Config.in b/target/sdk/files/Config.in index a14c17fe955b..0cf68faa6e12 100644 --- a/target/sdk/files/Config.in +++ b/target/sdk/files/Config.in @@ -119,6 +119,13 @@ menu "Advanced configuration options (for developers)" help Compiler cache; see https://ccache.samba.org/ + config CCACHE_DIR + string "Set ccache directory" if CCACHE + default "" + help + Store ccache in this directory. + If not set, uses './.ccache' + config BUILD_LOG bool "Enable log files during build process" help