summaryrefslogtreecommitdiff
path: root/target/sdk/files
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
commit882f3e78ca067c4c63b26b45cba5cf76bd557373 (patch)
tree7ae479faa5d9177fc88f2e2ce4ee813eb1d8e777 /target/sdk/files
parent6a44e140518e1a6c7b5bbdfaf58c99a69fa2ac24 (diff)
downloadmtk-20170518-882f3e78ca067c4c63b26b45cba5cf76bd557373.zip
mtk-20170518-882f3e78ca067c4c63b26b45cba5cf76bd557373.tar.gz
mtk-20170518-882f3e78ca067c4c63b26b45cba5cf76bd557373.tar.bz2
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> SVN-Revision: 9692
Diffstat (limited to 'target/sdk/files')
-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 ebd30bf..8b054b4 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