aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/shared/kconfig/files.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/shared/kconfig/files.mk b/scripts/shared/kconfig/files.mk
index ee1aa42..5552991 100644
--- a/scripts/shared/kconfig/files.mk
+++ b/scripts/shared/kconfig/files.mk
@@ -14,7 +14,9 @@ KCONFIG_SRC = $(KCONFIG_PREFIX)/zconf.tab.c
%.lex.c: %.l
flex -o $@ -L -P zconf $<
-%.tab.c: %.y %.lex.c %.hash.c
+$(KCONFIG_PREFIX)/zconf.tab.c: $(KCONFIG_PREFIX)/zconf.lex.c
+$(KCONFIG_PREFIX)/zconf.tab.c: $(KCONFIG_PREFIX)/zconf.hash.c
+%.tab.c: %.y
bison -o $@ $< -p zconf -t -l