From patchwork Sat Nov 21 15:33:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Petr_=C5=A0tetiar?= X-Patchwork-Id: 1404399 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=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=true.cz 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=merlin.20170209 header.b=XY3ddotw; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=Cbv9zjiK; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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 4Cdq4X3BR1z9sT6 for ; Sun, 22 Nov 2020 10:14:35 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zI/8BvOjJWijWaozEM+BGxY2cNu/srHRAlqQq9ONgMc=; b=XY3ddotw2+bDQVCrn8kCMZlzA SZlCwDTTm7Y7CO93BkqdxTDUTQDn2/2381oxn6coKSQWzPYv4C366BrY6I642WFxXK3h01i5INHQY hZ4FnZD5/iF9o5nOCyMwKK1eS3X/aYeCuW7MHAccn4FKG5dNN0SLgkyto+qu0xojKeyPqIaVl4m/r ae5QQtuQ8Ncl6/T2GHGKvHYrlTGG1ky3XMHE4bbbEmPFTu3bwrmht4hgfF9696kJCBdn7X7Ax5FEb LTFvu5z5n29uZe0Ff+D5ATnu8sqgm04gIHkf5WNqv9MGNmYbtjq5d2J2s7i/A47E8L1/BpMMo4EK/ 2G8rbXYKA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kgc3m-0008Da-Af; Sat, 21 Nov 2020 23:12:50 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kgc3j-0008CN-Vu for openwrt-devel@merlin.infradead.org; Sat, 21 Nov 2020 23:12:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=OWRNseGdICKyAD8UsY+AqoZoTQgG7gnVi2lQw6wkFBw=; b=Cbv9zjiKhx3NSGxLUgnLuGLadr 91S1NQsG0MJhVuoAidA1TdEnhrmBh34/zTE1Z88wed7FxFU0jytIirjxYhgvPUxwE+JUoOXkwbWgL oaW2mmOOZj8vaP+QayTw81lgtEq/7KJd/0eMjjOyQdAkYY0WNIhT+6Q4DdRHe3OmbP+r+6OAG8CfT b/6bNPPUb8PgxWVVNa1s78CeDwC9RV6+76IjOGpYHSONxMJIpsNZHWp8qGU0zWibH2nVSw+tvVjx+ t+BPurgUwrO83j1lFY8uflv8jJ5h8JX3eHaGLSx2g8yLBsNjhcovJx91GqWU7q3URa02R7uvF0MME rYh+ITpw==; Received: from smtp-out.xnet.cz ([178.217.244.18]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kgVvp-0002JO-Lg for openwrt-devel@lists.openwrt.org; Sat, 21 Nov 2020 16:40:17 +0000 Received: from meh.true.cz (meh.true.cz [108.61.167.218]) (Authenticated sender: petr@true.cz) by smtp-out.xnet.cz (Postfix) with ESMTPSA id 57A103C99; Sat, 21 Nov 2020 17:40:09 +0100 (CET) Received: by meh.true.cz (OpenSMTPD) with ESMTP id 4ca82a96; Sat, 21 Nov 2020 17:39:49 +0100 (CET) From: =?utf-8?q?Petr_=C5=A0tetiar?= To: openwrt-devel@lists.openwrt.org Subject: [PATCH 2/2] toolchain: kernel-headers: kernel Git tree mirror hash Date: Sat, 21 Nov 2020 16:33:41 +0100 Message-Id: <20201121153341.7406-2-ynezz@true.cz> In-Reply-To: <20201121153341.7406-1-ynezz@true.cz> References: <20201121153341.7406-1-ynezz@true.cz> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201121_164014_129818_C2C0E91E X-CRM114-Status: UNSURE ( 7.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Petr_=C5=A0tetiar?= Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Allow setting of mirror hash for Git kernel tree. Signed-off-by: Petr Štetiar --- config/Config-devel.in | 5 +++++ toolchain/kernel-headers/Makefile | 1 + 2 files changed, 6 insertions(+) diff --git a/config/Config-devel.in b/config/Config-devel.in index 6447a79db2ca..21e15f16dcb4 100644 --- a/config/Config-devel.in +++ b/config/Config-devel.in @@ -107,6 +107,11 @@ menuconfig DEVEL It can be a git hash or a branch name. If unused, the clone's repository HEAD will be checked-out. + config KERNEL_GIT_MIRROR_HASH + string "Enter hash of Git kernel tree source checkout tarball" if DEVEL + depends on (KERNEL_GIT_CLONE_URI != "") + default "" + config BUILD_LOG bool "Enable log files during build process" if DEVEL help diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 1bc650dc3c78..eea0ffbde071 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -21,6 +21,7 @@ ifneq ($(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)) PKG_SOURCE_VERSION:=$(call qstrip,$(CONFIG_KERNEL_GIT_REF)) + PKG_MIRROR_HASH:=$(call qstrip,$(CONFIG_KERNEL_GIT_MIRROR_HASH)) ifdef CHECK include $(INCLUDE_DIR)/kernel-version.mk PKG_VERSION:=$(LINUX_VERSION)