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
$(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