kbuild: replace hardcoded bison in cmd_bison_h with $(YACC)

Commit 73a4f6dbe7 ("kbuild: add LEX and YACC variables") missed to
update cmd_bison_h somehow.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada 2018-04-24 20:07:13 +09:00
parent 642ef99be9
commit d59fbbd09d
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ $(obj)/%.tab.c: $(src)/%.y FORCE
$(call if_changed,bison) $(call if_changed,bison)
quiet_cmd_bison_h = YACC $@ 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 $(obj)/%.tab.h: $(src)/%.y FORCE
$(call if_changed,bison_h) $(call if_changed,bison_h)