diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-11 16:51:52 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-21 16:49:31 +0100 |
commit | eea199b445f64c038b1d868bd52700510843ccd6 (patch) | |
tree | e54fb9e126a5c6490db0ee44c8582c743f3dc7f0 /scripts/Makefile.lib | |
parent | kconfig: use default 'yy' prefix for lexer and parser (diff) | |
download | linux-eea199b445f64c038b1d868bd52700510843ccd6.tar.xz linux-eea199b445f64c038b1d868bd52700510843ccd6.zip |
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/Makefile.lib')
-rw-r--r-- | scripts/Makefile.lib | 8 |
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 # LEX # --------------------------------------------------------------------------- -LEX_PREFIX = $(if $(LEX_PREFIX_${baseprereq}),$(LEX_PREFIX_${baseprereq}),yy) - quiet_cmd_flex = LEX $@ - cmd_flex = $(LEX) -o$@ -L -P $(LEX_PREFIX) $< + cmd_flex = $(LEX) -o$@ -L $< ifdef REGENERATE_PARSERS .PRECIOUS: $(src)/%.lex.c_shipped @@ -205,10 +203,8 @@ $(filter %.lex.c,$(targets)): $(obj)/%.lex.c: $(src)/%.l FORCE # YACC # --------------------------------------------------------------------------- -YACC_PREFIX = $(if $(YACC_PREFIX_${baseprereq}),$(YACC_PREFIX_${baseprereq}),yy) - quiet_cmd_bison = YACC $@ - cmd_bison = $(YACC) -o$@ -t -l -p $(YACC_PREFIX) $< + cmd_bison = $(YACC) -o$@ -t -l $< ifdef REGENERATE_PARSERS .PRECIOUS: $(src)/%.tab.c_shipped |