summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-04-24 20:07:13 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-05-05 10:24:52 +0900
commitd59fbbd09d5d6bdf4ea1f0b4090d175e081ff421 (patch)
treeeb4d891043b354ba2385142ba09b679a36f6401e /scripts/Makefile.lib
parent642ef99be932c4071274b28eaf3d3d85bbb6e78c (diff)
downloadlinux-d59fbbd09d5d6bdf4ea1f0b4090d175e081ff421.tar.bz2
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)