[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1548326850-13660-1-git-send-email-yamada.masahiro@socionext.com>
Date: Thu, 24 Jan 2019 19:47:29 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: linux-kbuild@...r.kernel.org
Cc: Sam Ravnborg <sam@...nborg.org>,
Ulf Magnusson <ulfalizer@...il.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] kconfig: rename zconf.l to lexer.l
Use a more logcal name.
Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
---
scripts/kconfig/Makefile | 6 +++---
scripts/kconfig/{zconf.l => lexer.l} | 0
scripts/kconfig/lkc.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
rename scripts/kconfig/{zconf.l => lexer.l} (100%)
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 1819735..9278519 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -143,10 +143,10 @@ help:
# ===========================================================================
# object files used by all kconfig flavours
-common-objs := confdata.o expr.o symbol.o preprocess.o zconf.lex.o zconf.tab.o
+common-objs := confdata.o expr.o lexer.lex.o preprocess.o symbol.o zconf.tab.o
-$(obj)/zconf.lex.o: $(obj)/zconf.tab.h
-HOSTCFLAGS_zconf.lex.o := -I$(src)
+$(obj)/lexer.lex.o: $(obj)/zconf.tab.h
+HOSTCFLAGS_lexer.lex.o := -I$(src)
HOSTCFLAGS_zconf.tab.o := -I$(src)
# conf: Used for defconfig, oldconfig and related targets
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/lexer.l
similarity index 100%
rename from scripts/kconfig/zconf.l
rename to scripts/kconfig/lexer.l
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 531ff7c..d871539 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -90,7 +90,7 @@ void *xrealloc(void *p, size_t size);
char *xstrdup(const char *s);
char *xstrndup(const char *s, size_t n);
-/* zconf.l */
+/* lexer.l */
int yylex(void);
struct gstr {
--
2.7.4
Powered by blists - more mailing lists