aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/Makefile7
-rw-r--r--scripts/kconfig/expr.h2
-rw-r--r--scripts/kconfig/lexer.l2
-rw-r--r--scripts/kconfig/parser.y (renamed from scripts/kconfig/zconf.y)0
4 files changed, 6 insertions, 5 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 9278519dbcf3..7c5dc31c1d95 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -143,11 +143,12 @@ help:
143 143
144# =========================================================================== 144# ===========================================================================
145# object files used by all kconfig flavours 145# object files used by all kconfig flavours
146common-objs := confdata.o expr.o lexer.lex.o preprocess.o symbol.o zconf.tab.o 146common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \
147 symbol.o
147 148
148$(obj)/lexer.lex.o: $(obj)/zconf.tab.h 149$(obj)/lexer.lex.o: $(obj)/parser.tab.h
149HOSTCFLAGS_lexer.lex.o := -I$(src) 150HOSTCFLAGS_lexer.lex.o := -I$(src)
150HOSTCFLAGS_zconf.tab.o := -I$(src) 151HOSTCFLAGS_parser.tab.o := -I$(src)
151 152
152# conf: Used for defconfig, oldconfig and related targets 153# conf: Used for defconfig, oldconfig and related targets
153hostprogs-y += conf 154hostprogs-y += conf
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index 999edb60cd53..8dde65bc3165 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -172,7 +172,7 @@ struct symbol {
172 * int "BAZ Value" 172 * int "BAZ Value"
173 * range 1..255 173 * range 1..255
174 * 174 *
175 * Please, also check zconf.y:print_symbol() when modifying the 175 * Please, also check parser.y:print_symbol() when modifying the
176 * list of property types! 176 * list of property types!
177 */ 177 */
178enum prop_type { 178enum prop_type {
diff --git a/scripts/kconfig/lexer.l b/scripts/kconfig/lexer.l
index b2d0a3b0bce9..c9df1c8b9824 100644
--- a/scripts/kconfig/lexer.l
+++ b/scripts/kconfig/lexer.l
@@ -15,7 +15,7 @@
15#include <unistd.h> 15#include <unistd.h>
16 16
17#include "lkc.h" 17#include "lkc.h"
18#include "zconf.tab.h" 18#include "parser.tab.h"
19 19
20#define YY_DECL static int yylex1(void) 20#define YY_DECL static int yylex1(void)
21 21
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/parser.y
index 60936c76865b..60936c76865b 100644
--- a/scripts/kconfig/zconf.y
+++ b/scripts/kconfig/parser.y