suppress bug after compiling last package in kamikaze SDK.
[openwrt-10.03/.git] / target / sdk / files / Makefile
index 2f8451bf78b47dbd7b3556fbe97d81e01cf1e5dd..8b054b447f707a116e3396e759afd8c58dcfe095 100644 (file)
@@ -74,9 +74,9 @@ world: FORCE
        $(MAKE) package/compile
        -( \
                cd package; \
-               find . -maxdepth 2 -name Config.in | \
-                       sed -e 's,/Config.in,,g' | \
-                       xargs -r -n1 make compile -C; \
+               for configfile in `find . -maxdepth 2 -name Config.in` ; do \
+                       $(MAKE) compile -C `dirname $$configfile` ; \
+               done \
        )
 
 clean: FORCE