summaryrefslogtreecommitdiff
path: root/target/sdk/files
diff options
context:
space:
mode:
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