summaryrefslogtreecommitdiffstats
path: root/scripts/config/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/config/Makefile')
-rw-r--r--scripts/config/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/config/Makefile b/scripts/config/Makefile
index 04e8330a0..a731a40e7 100644
--- a/scripts/config/Makefile
+++ b/scripts/config/Makefile
@@ -1,5 +1,5 @@
# ===========================================================================
-# Kernel configuration targets
+# OpenWrt configuration targets
# These targets are used from top-level makefile
# ===========================================================================
@@ -40,10 +40,10 @@ lex.zconf.c: zconf.l
zconf.hash.c: zconf.gperf
%.tab.c: %.y
- bison -l -b $* -p $(notdir $*) $< && cp $@ $@_shipped || cp $@_shipped $@
+ cp $@_shipped $@ || bison -l -b $* -p $(notdir $*) $<
lex.%.c: %.l
- flex -L -P$(notdir $*) -o$@ $< && cp $@ $@_shipped || cp $@_shipped $@
+ cp $@_shipped $@ || flex -L -P$(notdir $*) -o$@ $<
%.hash.c: %.gperf
- gperf < $< > $@ && cp $@ $@_shipped || cp $@_shipped $@
+ cp $@_shipped $@ || gperf < $< > $@