Skip to content

Commit d59fbbd

Browse files
committed
kbuild: replace hardcoded bison in cmd_bison_h with $(YACC)
Commit 73a4f6d ("kbuild: add LEX and YACC variables") missed to update cmd_bison_h somehow. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 642ef99 commit d59fbbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile.lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ $(obj)/%.tab.c: $(src)/%.y FORCE
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)

0 commit comments

Comments
 (0)