From 451518eba5be299ae1ef004112a6ecdc3b2e26c0 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Thu, 20 Apr 2006 21:00:14 +0000
Subject: modify the kconfig system for openwrt

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3683 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 scripts/config/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'scripts/config/Makefile')

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 < $< > $@
-- 
cgit v1.2.3