From patchwork Tue Dec 17 04:18:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11296537 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1B5B61593 for ; Tue, 17 Dec 2019 04:19:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ECB512176D for ; Tue, 17 Dec 2019 04:19:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576556342; bh=vLYvuuuOBtirizTvfuMiKkHqK1dmhuS9VwB7s2fbgas=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=keLtNjtM3Zac/LcaXOyhv1jl1iDlPp9XYwg4wdkF2N2PQHZrsXTgr9dNjUTaSRwPt OYmMW4itlPu29VpsYeVE7BoR8rlaMiynKVJHAvBTB53HGUiMUiIYU6k+e2dCdoPbJ4 gFkOrlrRc+PtQyXGgY1yZGd15/JwsN0xjlGVVflg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727324AbfLQETB (ORCPT ); Mon, 16 Dec 2019 23:19:01 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:56751 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727125AbfLQETB (ORCPT ); Mon, 16 Dec 2019 23:19:01 -0500 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id xBH4IZc5028568; Tue, 17 Dec 2019 13:18:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com xBH4IZc5028568 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1576556316; bh=25xyd3OdDOunsYOF2gLZCqtPxA+eTs4L4gtuLHu79xE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SzqyV8QHiNQY/4+KrpHpC8JJxX0dsPxCyy8v56TRraBnEFT/Ag5AMZ+syLfEE2dgK HBoe2ByyzL9zPkZBmZazWuXBAZNHrSdUbQeRQzY1IfQETskQyanZfjPYtVQCPy889+ iXOt8dWkqqkAucVctXJEjV/gHLrQ19pn81G0Hfu0OE5pErdSlUmwZq58W+GEdj+Su8 6M/yonnVsxPM6+nDvSt/PYRpeRrbTnTfvC31smgp5f3xqxk6OdaTWGgLidE5+kz3Bb RmHpnQOJOxV8v4XX7+7kHv9d6nrnVPb8dF7YqZszLD81SQmaQb99YgjqW+EyI/TvgT 7AqIpmLa8+dAg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] kconfig: use $(PERL) in Makefile Date: Tue, 17 Dec 2019 13:18:19 +0900 Message-Id: <20191217041819.29732-2-masahiroy@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191217041819.29732-1-masahiroy@kernel.org> References: <20191217041819.29732-1-masahiroy@kernel.org> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org The top Makefile defines and exports the variable 'PERL'. Use it in case somebody wants to specify a particular version of perl from the command line. Signed-off-by: Masahiro Yamada --- scripts/kconfig/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index f826a257d576..953a2859302c 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -47,7 +47,7 @@ build_gconfig: $(obj)/gconf build_xconfig: $(obj)/qconf localyesconfig localmodconfig: $(obj)/conf - $(Q)perl $(srctree)/$(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config + $(Q)$(PERL) $(srctree)/$(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config $(Q)if [ -f .config ]; then \ cmp -s .tmp.config .config || \ (mv -f .config .config.old.1; \