summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-30 22:59:28 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-03 10:17:17 +0100
commit813d75e6f9d1f5ab3b947e0b75d61ae9890bef86 (patch)
tree5a9164b51f2b5e1a228205c737aaf7369c7ed67a /scripts
parent997b70f585ef9bf2171c3f435efee3967e3036ec (diff)
downloadbarebox-813d75e6f9d1f5ab3b947e0b75d61ae9890bef86.tar.gz
barebox-813d75e6f9d1f5ab3b947e0b75d61ae9890bef86.tar.xz
kbuild: remove unnecessary LEX_PREFIX and YACC_PREFIX
Because the latest Kconfig uses the default 'yy' prefix, this is no longer unneeded. Based on Linux commit eea199b445f6 ("kbuild: remove unnecessary LEX_PREFIX and YACC_PREFIX"). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.lib10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index b0f6d68906..afe487536b 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -179,26 +179,22 @@ 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 $<
$(obj)/%.lex.c: $(src)/%.l FORCE
$(call if_changed,flex)
# 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 $<
$(obj)/%.tab.c: $(src)/%.y FORCE
$(call if_changed,bison)
quiet_cmd_bison_h = YACC $@
- cmd_bison_h = $(YACC) -o/dev/null --defines=$@ -t -l -p $(YACC_PREFIX) $<
+ cmd_bison_h = $(YACC) -o/dev/null --defines=$@ -t -l $<
$(obj)/%.tab.h: $(src)/%.y FORCE
$(call if_changed,bison_h)