aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-11 10:51:52 -0500
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-21 10:49:31 -0500
commiteea199b445f64c038b1d868bd52700510843ccd6 (patch)
treee54fb9e126a5c6490db0ee44c8582c743f3dc7f0 /scripts
parent765f4cdef6f80d389d14f5f7368b27083a67cafc (diff)
kbuild: remove unnecessary LEX_PREFIX and YACC_PREFIX
Kconfig was the only user of these. With Kconfig converted to use the default 'yy' prefix, we do not need them any more. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.lib8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 0f9ef3fbbaf5..5ff2761e973d 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -188,10 +188,8 @@ endef
188 188
189# LEX 189# LEX
190# --------------------------------------------------------------------------- 190# ---------------------------------------------------------------------------
191LEX_PREFIX = $(if $(LEX_PREFIX_${baseprereq}),$(LEX_PREFIX_${baseprereq}),yy)
192
193quiet_cmd_flex = LEX $@ 191quiet_cmd_flex = LEX $@
194 cmd_flex = $(LEX) -o$@ -L -P $(LEX_PREFIX) $< 192 cmd_flex = $(LEX) -o$@ -L $<
195 193
196ifdef REGENERATE_PARSERS 194ifdef REGENERATE_PARSERS
197.PRECIOUS: $(src)/%.lex.c_shipped 195.PRECIOUS: $(src)/%.lex.c_shipped
@@ -205,10 +203,8 @@ $(filter %.lex.c,$(targets)): $(obj)/%.lex.c: $(src)/%.l FORCE
205 203
206# YACC 204# YACC
207# --------------------------------------------------------------------------- 205# ---------------------------------------------------------------------------
208YACC_PREFIX = $(if $(YACC_PREFIX_${baseprereq}),$(YACC_PREFIX_${baseprereq}),yy)
209
210quiet_cmd_bison = YACC $@ 206quiet_cmd_bison = YACC $@
211 cmd_bison = $(YACC) -o$@ -t -l -p $(YACC_PREFIX) $< 207 cmd_bison = $(YACC) -o$@ -t -l $<
212 208
213ifdef REGENERATE_PARSERS 209ifdef REGENERATE_PARSERS
214.PRECIOUS: $(src)/%.tab.c_shipped 210.PRECIOUS: $(src)/%.tab.c_shipped