From patchwork Thu Jan 24 10:47:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156469 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1795654jaa; Thu, 24 Jan 2019 02:48:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN5nYNxkyvEV6aXo4VHXEp1IxAkAK21moek9yqDIRO1ydFYh1WZ6GT9xq/w39rA3nm1UxYM5 X-Received: by 2002:a63:6207:: with SMTP id w7mr5273457pgb.90.1548326904027; Thu, 24 Jan 2019 02:48:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548326904; cv=none; d=google.com; s=arc-20160816; b=bQyt2+fW7qKWNlme5Hp1X7U8geijWebw0h4pnPpN+mWyoeAAYCZ4yQ7w6TrESMHeHR S6cjZ3dp6zWiEAlR9b8tw/Lt2CXE3EtMycOkkEqwD1XUFluyhhGFS1An804hI96345X1 FBObUgVVXrdP2iH6niVQFFMNYJ2Js6nfYNv8/hK7iwVEqmG3bOp0DobvN7VDCIbBFa80 Xosd5kXBRmdMYGDnH0Tlx8Pznj2tgzTHBOW98vMDDe4X27nzLu8LttnWPC6k9aq/lW3e +ONsfjLMkXET8+KvoVepmax4+UDKG0nvEnvMSbkMnuw5+b6iV/wkBt+DlG9YAonLE9nt kuOw== 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; bh=Bx6qUIZBuAikzmub06CqL/wi+fGcjYmAgLf/mU0X/2s=; b=VL4mEPsWuzq1FQ4WrHOwWbmRLux6epaS1W8QHC3c0MNZHuXxJifMYEjc+7ht0AQono LEeMl8rsUcOZz0D+5UF8rrEpX1iMeBGCbsFC1VPQIC6VYmAsya3cihU7tOQZc8aaVYt8 ibEXGNuBvmtAWb6JUq5DtDV0nIodF/5vhSs0asGC/iKtmBdRagTcewSiEPodv025Cuk2 kv/5UygeI1ueXp72sWaJ+rMTovBjfUzsV9kj7q8e4sWGfzx1G9AEUaNfGixApFMapl2M i4vSozzgskMz4WndW3Z3PnQOTdu4nTVPCT13GdM6GklrTSudjgYzyiX89V3oLVAfLsdT h1xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=wHNJrb3j; 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 e4si14312738pgk.127.2019.01.24.02.48.23; Thu, 24 Jan 2019 02:48:24 -0800 (PST) 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=wHNJrb3j; 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 S1727628AbfAXKsW (ORCPT + 31 others); Thu, 24 Jan 2019 05:48:22 -0500 Received: from conuserg-11.nifty.com ([210.131.2.78]:45474 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726036AbfAXKsV (ORCPT ); Thu, 24 Jan 2019 05:48:21 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id x0OAlYSf031996; Thu, 24 Jan 2019 19:47:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com x0OAlYSf031996 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548326856; bh=Bx6qUIZBuAikzmub06CqL/wi+fGcjYmAgLf/mU0X/2s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wHNJrb3jqQFVpkiJ5P9ZXKMPMtOMw7kU7CLbMOK63ZfC7FJargkc4JiIzKh6sfSY7 TOIGp1IBEslGTPsPTbRMXu4qw5tVCsMP1Sc8KlzptlA+/LZuQKAtMYuoPV2ZB7RwJ8 zYIPOyvelc137iwqCaOv9jQXdSkrBL4ZIF1Izum0FeOVHBN/PAikiGF1dFMGELhSGj aRfz+PIPAeGxa0lK1d0JYXHH2fLqlw8ttkFGMA0vXPezsazoEQiGP7X2Osb7JJDH/z 56W+HVs5sBNFPZziJnjD6mfHViN7xaL5ae6ZPoxEN20IhHqojXdUbzP5AtDLGOkjcX pSpH4XN6ZSjLg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Ulf Magnusson , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] kconfig: rename zconf.y to parser.y Date: Thu, 24 Jan 2019 19:47:30 +0900 Message-Id: <1548326850-13660-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548326850-13660-1-git-send-email-yamada.masahiro@socionext.com> References: <1548326850-13660-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 Use a more logical name. Signed-off-by: Masahiro Yamada --- scripts/kconfig/Makefile | 7 ++++--- scripts/kconfig/expr.h | 2 +- scripts/kconfig/lexer.l | 2 +- scripts/kconfig/{zconf.y => parser.y} | 0 4 files changed, 6 insertions(+), 5 deletions(-) rename scripts/kconfig/{zconf.y => parser.y} (100%) -- 2.7.4 diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 9278519..7c5dc31 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -143,11 +143,12 @@ help: # =========================================================================== # object files used by all kconfig flavours -common-objs := confdata.o expr.o lexer.lex.o preprocess.o symbol.o zconf.tab.o +common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \ + symbol.o -$(obj)/lexer.lex.o: $(obj)/zconf.tab.h +$(obj)/lexer.lex.o: $(obj)/parser.tab.h HOSTCFLAGS_lexer.lex.o := -I$(src) -HOSTCFLAGS_zconf.tab.o := -I$(src) +HOSTCFLAGS_parser.tab.o := -I$(src) # conf: Used for defconfig, oldconfig and related targets hostprogs-y += conf diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 999edb6..8dde65bc 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -172,7 +172,7 @@ struct symbol { * int "BAZ Value" * range 1..255 * - * Please, also check zconf.y:print_symbol() when modifying the + * Please, also check parser.y:print_symbol() when modifying the * list of property types! */ enum prop_type { diff --git a/scripts/kconfig/lexer.l b/scripts/kconfig/lexer.l index b2d0a3b..c9df1c8 100644 --- a/scripts/kconfig/lexer.l +++ b/scripts/kconfig/lexer.l @@ -15,7 +15,7 @@ #include #include "lkc.h" -#include "zconf.tab.h" +#include "parser.tab.h" #define YY_DECL static int yylex1(void) diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/parser.y similarity index 100% rename from scripts/kconfig/zconf.y rename to scripts/kconfig/parser.y