Skip to content

Commit 769a1c0

Browse files
committed
kconfig: rename zconf.y to parser.y
Use a more logical name. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 981e545 commit 769a1c0

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

scripts/kconfig/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,12 @@ help:
143143

144144
# ===========================================================================
145145
# object files used by all kconfig flavours
146-
common-objs := confdata.o expr.o lexer.lex.o preprocess.o symbol.o zconf.tab.o
146+
common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \
147+
symbol.o
147148

148-
$(obj)/lexer.lex.o: $(obj)/zconf.tab.h
149+
$(obj)/lexer.lex.o: $(obj)/parser.tab.h
149150
HOSTCFLAGS_lexer.lex.o := -I$(src)
150-
HOSTCFLAGS_zconf.tab.o := -I$(src)
151+
HOSTCFLAGS_parser.tab.o := -I$(src)
151152

152153
# conf: Used for defconfig, oldconfig and related targets
153154
hostprogs-y += conf

scripts/kconfig/expr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ struct symbol {
172172
* int "BAZ Value"
173173
* range 1..255
174174
*
175-
* Please, also check zconf.y:print_symbol() when modifying the
175+
* Please, also check parser.y:print_symbol() when modifying the
176176
* list of property types!
177177
*/
178178
enum prop_type {

scripts/kconfig/lexer.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <unistd.h>
1616

1717
#include "lkc.h"
18-
#include "zconf.tab.h"
18+
#include "parser.tab.h"
1919

2020
#define YY_DECL static int yylex1(void)
2121

File renamed without changes.

0 commit comments

Comments
 (0)