History

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.

Masahiro Yamada committed 8 years ago

Commit d59fbbd1 parent 642ef991 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/Makefile.lib+1−1
@@ -196,7 +196,7 @@ $(obj)/%.tab.c: $(src)/%.y FORCE · 195 unmodified lines
196196 $(call if_changed,bison)
197197
198198 quiet_cmd_bison_h = YACC $@
199− cmd_bison_h = bison -o/dev/null --defines=$@ -t -l $<
199+ cmd_bison_h = $(YACC) -o/dev/null --defines=$@ -t -l $<
200200
201201 $(obj)/%.tab.h: $(src)/%.y FORCE
202202 $(call if_changed,bison_h)