From: Felix Fietkau Date: Sun, 9 Dec 2007 18:52:52 +0000 (+0000) Subject: suppress bug after compiling last package in kamikaze SDK. X-Git-Tag: reboot~27542 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=882f3e78ca067c4c63b26b45cba5cf76bd557373;p=openwrt%2Fstaging%2Fjogo.git 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 SVN-Revision: 9692 --- 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