[PATCH 1/2] kconfig: rename zconf.l to lexer.l

From: Masahiro Yamada
Date: Thu Jan 24 2019 - 05:48:28 EST


Use a more logcal name.

Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---

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