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>
This commit is contained in:
parent
765f4cdef6
commit
eea199b445
1 changed files with 2 additions and 6 deletions
|
@ -188,10 +188,8 @@ endef
|
||||||
|
|
||||||
# LEX
|
# LEX
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
LEX_PREFIX = $(if $(LEX_PREFIX_${baseprereq}),$(LEX_PREFIX_${baseprereq}),yy)
|
|
||||||
|
|
||||||
quiet_cmd_flex = LEX $@
|
quiet_cmd_flex = LEX $@
|
||||||
cmd_flex = $(LEX) -o$@ -L -P $(LEX_PREFIX) $<
|
cmd_flex = $(LEX) -o$@ -L $<
|
||||||
|
|
||||||
ifdef REGENERATE_PARSERS
|
ifdef REGENERATE_PARSERS
|
||||||
.PRECIOUS: $(src)/%.lex.c_shipped
|
.PRECIOUS: $(src)/%.lex.c_shipped
|
||||||
|
@ -205,10 +203,8 @@ $(filter %.lex.c,$(targets)): $(obj)/%.lex.c: $(src)/%.l FORCE
|
||||||
|
|
||||||
# YACC
|
# YACC
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
YACC_PREFIX = $(if $(YACC_PREFIX_${baseprereq}),$(YACC_PREFIX_${baseprereq}),yy)
|
|
||||||
|
|
||||||
quiet_cmd_bison = YACC $@
|
quiet_cmd_bison = YACC $@
|
||||||
cmd_bison = $(YACC) -o$@ -t -l -p $(YACC_PREFIX) $<
|
cmd_bison = $(YACC) -o$@ -t -l $<
|
||||||
|
|
||||||
ifdef REGENERATE_PARSERS
|
ifdef REGENERATE_PARSERS
|
||||||
.PRECIOUS: $(src)/%.tab.c_shipped
|
.PRECIOUS: $(src)/%.tab.c_shipped
|
||||||
|
|
Loading…
Add table
Reference in a new issue