aboutsummaryrefslogtreecommitdiffstats
path: root/target/sdk/files/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-09 18:52:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-09 18:52:52 +0000
commitb4630ff89fe4a8302d412e4ba80123da52585342 (patch)
tree38915208794de5ac0319be8c872ed891a5cdeb17 /target/sdk/files/Makefile
parent6756212cf2bc0ee5826447e09371ec31d51af116 (diff)
downloadupstream-b4630ff89fe4a8302d412e4ba80123da52585342.tar.gz
upstream-b4630ff89fe4a8302d412e4ba80123da52585342.tar.bz2
upstream-b4630ff89fe4a8302d412e4ba80123da52585342.zip
suppress bug after compiling last package in kamikaze SDK.
This patch corrects https://dev.openwrt.org/ticket/2508 An error was raised when no Config.in file was found in package/ Signed-off-by: Julien Pinon <julien.pinon@luceor.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9692 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/sdk/files/Makefile')
-rw-r--r--target/sdk/files/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/sdk/files/Makefile b/target/sdk/files/Makefile
index ebd30bf32a..8b054b447f 100644
--- a/target/sdk/files/Makefile
+++ b/target/sdk/files/Makefile
@@ -74,9 +74,9 @@ world: FORCE
$(MAKE) package/compile
-( \
cd package; \
- find . -maxdepth 2 -name Config.in | \
- sed -e 's,/Config.in,,g' | \
- xargs -n1 $(MAKE) compile -C; \
+ for configfile in `find . -maxdepth 2 -name Config.in` ; do \
+ $(MAKE) compile -C `dirname $$configfile` ; \
+ done \
)
clean: FORCE