diff options
-rw-r--r-- | util/kconfig/Makefile.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/util/kconfig/Makefile.inc b/util/kconfig/Makefile.inc index c3b764b2b7..9277b516ee 100644 --- a/util/kconfig/Makefile.inc +++ b/util/kconfig/Makefile.inc @@ -60,10 +60,8 @@ endef $(foreach prog,$(hostprogs),$(eval $(call hostprogs_template,$(prog)))) -$(objk)/parser.tab.h: | $(objk)/parser.tab.c -$(objk)/%.tab.h: | $(objk)/%.tab.c -$(objk)/%.tab.c: $(srck)/%.y - bison -t -l --defines=$(objk)/$*.tab.h -b $(objk)/$* $< +$(objk)/%.tab.c $(objk)/%.tab.h: $(srck)/%.y + bison -t -l --defines -b $(objk)/$* $< $(objk)/%.lex.c: $(srck)/%.l flex -L -o$@ $< |