summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-04-24 13:07:13 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-05-05 03:24:52 +0200
commitd59fbbd09d5d6bdf4ea1f0b4090d175e081ff421 (patch)
treeeb4d891043b354ba2385142ba09b679a36f6401e /scripts/Makefile.lib
parentgcc-plugins: fix build condition of SANCOV plugin (diff)
downloadlinux-d59fbbd09d5d6bdf4ea1f0b4090d175e081ff421.tar.xz
linux-d59fbbd09d5d6bdf4ea1f0b4090d175e081ff421.zip
kbuild: replace hardcoded bison in cmd_bison_h with $(YACC)
Commit 73a4f6dbe70a ("kbuild: add LEX and YACC variables") missed to update cmd_bison_h somehow. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 07d07409f16f..5af34a2b0cd9 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -196,7 +196,7 @@ $(obj)/%.tab.c: $(src)/%.y FORCE
$(call if_changed,bison)
quiet_cmd_bison_h = YACC $@
- cmd_bison_h = bison -o/dev/null --defines=$@ -t -l $<
+ cmd_bison_h = $(YACC) -o/dev/null --defines=$@ -t -l $<
$(obj)/%.tab.h: $(src)/%.y FORCE
$(call if_changed,bison_h)