summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-24 19:47:29 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-02-13 23:25:49 +0900
commit981e545a698aee98ed9c11202fe9bc93242f3cec (patch)
treec780ee0091b08dba92c3aa9fda116bff5ddcb48f /scripts
parentf17b5f06cb92ef2250513a1e154c47b78df07d40 (diff)
downloadlinux-981e545a698aee98ed9c11202fe9bc93242f3cec.tar.gz
linux-981e545a698aee98ed9c11202fe9bc93242f3cec.tar.bz2
linux-981e545a698aee98ed9c11202fe9bc93242f3cec.zip
kconfig: rename zconf.l to lexer.l
Use a more logical name. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/Makefile6
-rw-r--r--scripts/kconfig/lexer.l (renamed from scripts/kconfig/zconf.l)0
-rw-r--r--scripts/kconfig/lkc.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 181973509a05..9278519dbcf3 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
index b2d0a3b0bce9..b2d0a3b0bce9 100644
--- a/scripts/kconfig/zconf.l
+++ b/scripts/kconfig/lexer.l
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 531ff7c57d92..d871539e4b45 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 {