diff mbox series

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

Message ID 1548326850-13660-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 981e545a698aee98ed9c11202fe9bc93242f3cec
Headers show
Series [1/2] kconfig: rename zconf.l to lexer.l | expand

Commit Message

Masahiro Yamada Jan. 24, 2019, 10:47 a.m. UTC
Use a more logcal name.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.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%)

-- 
2.7.4

Comments

Masahiro Yamada Feb. 1, 2019, 4:22 a.m. UTC | #1
On Thu, Jan 24, 2019 at 7:48 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>

> Use a more logcal name.

>

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

> ---



Both, applied to linux-kbuild/kconfig.






-- 
Best Regards
Masahiro Yamada
diff mbox series

Patch

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 {