From: Masahiro Yamada Date: Tue, 24 Apr 2018 11:07:13 +0000 (+0900) Subject: kbuild: replace hardcoded bison in cmd_bison_h with $(YACC) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d59fbbd09d5d6bdf4ea1f0b4090d175e081ff421;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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)