summaryrefslogtreecommitdiff
path: root/util/kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'util/kconfig')
-rw-r--r--util/kconfig/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile
index 009e2452d6..f6ce8181dd 100644
--- a/util/kconfig/Makefile
+++ b/util/kconfig/Makefile
@@ -327,11 +327,15 @@ $(obj)/zconf.hash.c: $(src)/zconf.gperf
%.tab.c: %.y
bison -t -l -b $* -p $(notdir $*) $<
- cp $@ $@_shipped
+
+%.tab.c_shipped: %.tab.c
+ cp $< $@
%.lex.c: %.l
flex -L -P$(notdir $*) -o$@ $<
- cp $@ $@_shipped
+
+%.lex.c_shipped: %.lex.c
+ cp $< $@
%.hash.c: %.gperf
gperf < $< > $@