aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-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