From patchwork Sun Jun 17 00:07:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 138832 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2425090lji; Sat, 16 Jun 2018 17:08:36 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKd8U4qHJRzQLE4b8PLVheQ2e543qBC9GzJMYhjSpnzHmO7JwQeyNNjB85m5WXiFt/s9LH1 X-Received: by 2002:a62:f705:: with SMTP id h5-v6mr7879941pfi.169.1529194116756; Sat, 16 Jun 2018 17:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529194116; cv=none; d=google.com; s=arc-20160816; b=E6eY7irObxy8faiqNCGBD1bSdw6Fpwisa8S0yKtTEIlSEPyYLNzzjmkWwVO6ooi/h6 JU41f8xkTUixopA7n9916GC8T0MIEgQ8jrPSvsLObFp0bkq1MiCaN8sv+MV7Bshyxrxw RaAtjywiSInLYU4b4m4vh+NOEZiw3TColaP2qoUej1kYaWXwFHQE+r7ex8zPnMUMUpnB aaEZ5xwCmC99X8wiPcwrzmwtWUP1dKfVM/+3if0NzOxoED5mSp/rdGe4chDXrWgakCUb 3dVy9s6W2+2VNm3+ADwAfcHbfYSDqYIkO9+PnwlvRxt+yXC5koMlS6+sG92bAPpILs9u mvbQ== 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=qttswublYIxKlQXb5xDiAdgenLXL5qiCO3yLLh1JdgE=; b=Er3MbCIb4txqGuuNPC64EU9m9/TwyBcqtdHBC4QG+H34TQeHihBEZMJRE8gs/JxGrX AhnV7p/D49Fl7W9CSLGZr5VlflZfK3dzwKXi08otG7WPZsNemR4xY9obLip7uWFtPi8b 7DNFNZlRFJdXbU5SSq3gNzfiJW8bgjzUIKfG6L228xDJraITqEfHlgogPclHJwb3R9iO O7k2YJHJD+QWUxBWUftaQtumyW5SyoseIMUXW32dRgC2tCVh/ZPIDYXcVdd1Bd2+byen Cx5ofAvIDMGbQB5xwgFMBGImLc1GWeW31PFKFgYGVHXxWGfySPUvwSB7lwKVHpeaVH3p gI8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=AS3Iki2a; 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 d18-v6si11759261pll.393.2018.06.16.17.08.36; Sat, 16 Jun 2018 17:08:36 -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=AS3Iki2a; 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 S1756993AbeFQAIU (ORCPT + 30 others); Sat, 16 Jun 2018 20:08:20 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:58218 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756939AbeFQAIS (ORCPT ); Sat, 16 Jun 2018 20:08:18 -0400 Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-09.nifty.com with ESMTP id w5H07Em6031999; Sun, 17 Jun 2018 09:07:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w5H07Em6031999 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1529194035; bh=qttswublYIxKlQXb5xDiAdgenLXL5qiCO3yLLh1JdgE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AS3Iki2ajojegMrh+zijcgy9LiBpXxtq3iUnXEg431eh6wMMkocK0G8c1zoTBOxg5 9Oqa5kiCbJy8HtkhuxVbRv+Dm7sbEr2YWcKTutYaBK1hEiy7EY1Zolw38nywQeLOfa Sbvm1YjyZ2Hue8vYEmo/EXthAAP9EhjDKd0PKBzodvwn58zjKFeNy/Y/WuUnW6y5Ih LxfqO8oZGxoVShga8AzXx9DMPPs0yq876dlxVjiynZxaBWXZVWvcada+mi21hosSKG fq4yUnD0ryaxsZEqMCXVQhRHLoUCAhfypBASLIhcqpjukaNP4rgCdBaTgLNsVF0fgX /z0tcDA10B0MA== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Sam Ravnborg , Linus Torvalds , Masahiro Yamada , Michal Marek Subject: [PATCH 2/2] kbuild: do not update config for 'make kernelrelease' Date: Sun, 17 Jun 2018 09:07:07 +0900 Message-Id: <1529194027-15752-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529194027-15752-1-git-send-email-yamada.masahiro@socionext.com> References: <1529194027-15752-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 if you forget to pass CROSS_COMPILE when running 'make kernelrelease' in the source tree configured for cross-compilation. Signed-off-by: Masahiro Yamada --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/Makefile b/Makefile index f934a81..f4fecda 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