Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1983294imm; Sat, 23 Jun 2018 07:00:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIAM9d3ZsxcSv1+lU14s6weyNmKYZICh3peIOjpU6t+Afjte/N3URWA3XG+AXwd43sNSrTu X-Received: by 2002:a62:8b9b:: with SMTP id e27-v6mr6029941pfl.82.1529762422989; Sat, 23 Jun 2018 07:00:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529762422; cv=none; d=google.com; s=arc-20160816; b=kb8qDkqr/BbjEI4nwZ7VmklbYbDzIHwDZ6qNuO70yXSP2EnfXqnQCBlnKDxShgUSjq Un3KOtl2bji6Swt+pkj+a7ZeD89E8FYvwto4qCMDd2kAsjvbaDHdbRNTOM6NwHyNG9GU teO9joR7v/8Rz5uoDOLMoimaFsiezKzacZBBsIzgipuoZ3TSA+Ly/fOxZcF2GpJgVYiA 2JAsYHRJmiEboIApsmnBAL5YzZZ7PfRR9j6TqgZcDok0CkC838IJkIdGdy+xoBR5iI12 nREb1uA0jJIBe8EeWvVT+q3MYQ94HLqBUslgJPMHjhm7euuNo4u3pn753hLk+jFwluIX g2VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=eF6juXb7PirRchUcfKJpaftuAQl8aBHmTPqdBo4/Lqw=; b=spJuT2pKXryckFet1cK2atDndiGX4QvRdksVjicHfAqhNchkwu0hCR/d6tE2N0pDdH jbOu2xguF6nEc76JpBBdSGk5Qr9krZZPpJpOY8ikodUrCBNtxZul9BHs9Mk3RXe5UPPD 4fWew90wkkwkQKfQDoO916ommSoBBUz7HvNIG+lx3FDWIVN8aUFn/pUqjto73nLXjTb7 qHasZNkUQZvxE09/1VrlUfJ+rinSJ8mgjVETk5ugC181uJS4T49QXiAXpCQtVP6i7T7p COJPseplGlymfadOJl9zCsCfkSIQdLZdC0VXBMWyBFbGOLHqD5PgA8MucR1XBQ+k9uxM l1Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Nmyd8BvV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6-v6si8316083pgq.241.2018.06.23.07.00.08; Sat, 23 Jun 2018 07:00:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Nmyd8BvV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbeFWN6P (ORCPT + 99 others); Sat, 23 Jun 2018 09:58:15 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:44602 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751451AbeFWN6N (ORCPT ); Sat, 23 Jun 2018 09:58:13 -0400 Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-08.nifty.com with ESMTP id w5NDvYBW015690; Sat, 23 Jun 2018 22:57:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com w5NDvYBW015690 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1529762256; bh=eF6juXb7PirRchUcfKJpaftuAQl8aBHmTPqdBo4/Lqw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nmyd8BvV8EY4bEtgAC9k6W+nM6sM3FbLyMCoPHjKLvEM9zj0B4NZ7zXV+9htJI3Fk B7CX7gOwYC3vERSIVhughD9DksIgZCX4nkHVMlpONDfASbxRhlNw3kO5S1Iuc6rvto DGVXikA+FsM1zfiCYGdusSdAxiUG7zbqICJYkZ+6lNEaeFfHZFE3LUmYQkW+grRRa+ imx95FK5IIkz8RLUuLBb0te+f/x30FsKh8c+JOCJs+HnQ6cpLmDd+VEUybgX6HilCm bJ33+iJAfTgeitMU1dnHBwK0PjDpHrZu8/o/7BHHvYv7N6jRhaUQwWiIkc5kGoZ4ID A3imn6KzTBnLg== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] kbuild: do not update config for 'make kernelrelease' Date: Sat, 23 Jun 2018 22:56:09 +0900 Message-Id: <1529762169-13488-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529762169-13488-1-git-send-email-yamada.masahiro@socionext.com> References: <1529762169-13488-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'make kernelrelease' depends on CONFIG_LOCALVERSION(_AUTO), but for the same reason as install targets, we do not want to update the configuration just for printing the kernelrelease string. This is likely to happen when you compiled the kernel with CROSS_COMPILE, but forget to pass it to 'make kernelrelease'. Signed-off-by: Masahiro Yamada --- Changes in v2: None Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f1e06fba..bb7394a 100644 --- a/Makefile +++ b/Makefile @@ -225,7 +225,8 @@ no-dot-config-targets := $(clean-targets) \ cscope gtags TAGS tags help% %docs check% coccicheck \ $(version_h) headers_% archheaders archscripts \ kernelversion %src-pkg -no-sync-config-targets := $(no-dot-config-targets) install %install +no-sync-config-targets := $(no-dot-config-targets) install %install \ + kernelrelease config-targets := 0 mixed-targets := 0 -- 2.7.4