kconfig: rename zconf.y to parser.y

Use a more logical name.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada 2019-01-24 19:47:30 +09:00
parent 981e545a69
commit 769a1c0226
4 changed files with 6 additions and 5 deletions

View File

@ -143,11 +143,12 @@ help:
# =========================================================================== # ===========================================================================
# object files used by all kconfig flavours # object files used by all kconfig flavours
common-objs := confdata.o expr.o lexer.lex.o preprocess.o symbol.o zconf.tab.o common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \
symbol.o
$(obj)/lexer.lex.o: $(obj)/zconf.tab.h $(obj)/lexer.lex.o: $(obj)/parser.tab.h
HOSTCFLAGS_lexer.lex.o := -I$(src) HOSTCFLAGS_lexer.lex.o := -I$(src)
HOSTCFLAGS_zconf.tab.o := -I$(src) HOSTCFLAGS_parser.tab.o := -I$(src)
# conf: Used for defconfig, oldconfig and related targets # conf: Used for defconfig, oldconfig and related targets
hostprogs-y += conf hostprogs-y += conf

View File

@ -172,7 +172,7 @@ struct symbol {
* int "BAZ Value" * int "BAZ Value"
* range 1..255 * range 1..255
* *
* Please, also check zconf.y:print_symbol() when modifying the * Please, also check parser.y:print_symbol() when modifying the
* list of property types! * list of property types!
*/ */
enum prop_type { enum prop_type {

View File

@ -15,7 +15,7 @@
#include <unistd.h> #include <unistd.h>
#include "lkc.h" #include "lkc.h"
#include "zconf.tab.h" #include "parser.tab.h"
#define YY_DECL static int yylex1(void) #define YY_DECL static int yylex1(void)