From patchwork Fri Jul 20 07:46:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 142434 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2649688ljj; Fri, 20 Jul 2018 00:48:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeQMmCF4wx8sYGFkyfLQ9I9MlbKGZiLmB3oMdryl38W1g47VuLPR8akN75hEoZmFExZL54m X-Received: by 2002:a62:5290:: with SMTP id g138-v6mr1142044pfb.46.1532072884737; Fri, 20 Jul 2018 00:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532072884; cv=none; d=google.com; s=arc-20160816; b=DsQS2hLHy6TXfzSl38/ZwwphzGGTVjOa+DMJNyecaqBqNxf5bajs0DN/8+K5NNiKZM CkkTm3Cm7CURPSV///mhobewdHgcqeteJaQO9ae/dLpVhbq0k0N95tOcGvhdLHSFON7/ aHhl5uiSPRoRvZtfD44I9EYX3j8riGftuexOUrdes1jDdQIdM41OosdJi/fbQPRvWHOY 0o+PZEXHC81cY3j0ZQTWRAEikKDbr90JVtD2JTNlDX2Xcvq0t6Ve2mHQnrbNMGwRa5Bx XDp4Qp2Hg1yhnIdPgpcCTi0ZrpqwEp6f8OTr7stITR1cp1MqvD+EQGaqLkTJN0EeNwIQ E3DA== 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=jDNKqUuLzwnkvVwfACbXbAwZGNLvx4EVw6xRbAj0t/c=; b=YjqH/GZgH9asBiG/L8bVMEAQG552eIinKe3kXauBjY9PP8AoRaaB7dhOqExAlr/Jb1 uPOC20+Gj1RqrkvbBxV6SMSDsE0ajoPr3+AE41PqjBroChDJPRd8fmFVI2Ck32Fm7cyk zYxmgy73THkwv2JpHq2G/Y2CugaypeCLh2Gg0BTaRfIFK0YFyLkjVE07lpGYwFJ8YNtt V4vmYG5uBPdjfMtfKScgq/lAgrLaSLdYqv4ZZbKxxk/M5y+Q9l8dZJEhUSQFOXSY+MV5 l3wGisVPFfdPlXlPOfbaTHKEn8qU+06qhK9IVWxkhKj40FyUCX6ulUIUKLHVKcQeaISI RzHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=l3xg9h8e; 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 h11-v6si1306263pfe.102.2018.07.20.00.48.04; Fri, 20 Jul 2018 00:48:04 -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=l3xg9h8e; 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 S1727410AbeGTIe5 (ORCPT + 31 others); Fri, 20 Jul 2018 04:34:57 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:28419 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727026AbeGTIe5 (ORCPT ); Fri, 20 Jul 2018 04:34:57 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id w6K7kdj2008048; Fri, 20 Jul 2018 16:46:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com w6K7kdj2008048 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1532072806; bh=jDNKqUuLzwnkvVwfACbXbAwZGNLvx4EVw6xRbAj0t/c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l3xg9h8eBW6BDpqghTyEn9aAAh6RLEQgf5k5e+GQgHfzHy1QZkuhHeQweBrx/9lCe UijafqbgrnZpY3Or/WVOd0QOAVHaYfy4Ah22G9gHfuPB4ixDd+OwbAlX4GdH5FhH8i UsJuZKFdf4Ymwfewzchruad9WWMO+tatMGVbrE1vggYLGXjCZrOgn0QoLmLVevP/4/ pjz+tadZTbEbLGLAi/T6fl17djU19/Spe0iYXUmsfgbVo8rSMNRZfYlz4lG6J2Vjm7 INa/a41gUa0MkjQAjjKBjSRTpdxU27RuAviyngHCBfte/eihbd16vfd4brDhdiJKtk X1r6UpdmG1mSA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Dirk Gouders , Ulf Magnusson , Sam Ravnborg , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH v4 10/11] kbuild: do not update config for 'make kernelrelease' Date: Fri, 20 Jul 2018 16:46:35 +0900 Message-Id: <1532072796-7947-11-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532072796-7947-1-git-send-email-yamada.masahiro@socionext.com> References: <1532072796-7947-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 v4: None Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/Makefile b/Makefile index ad83917..0ec1c27 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