add dependencies from the NEEDS variable to ipkg/control
[openwrt.git] / Makefile
index c323a9c..9b341f1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,12 +38,14 @@ endif
 endif
 export OPENWRTVERSION
 
+all:
+
 .pkginfo: FORCE
-ifeq ($(shell ./scripts/timestamp.pl -p .pkginfo package),package)
+ifneq ($(shell ./scripts/timestamp.pl -p .pkginfo package Makefile),.pkginfo)
        @echo Collecting package info...
-       @-for makefile in package/*/Makefile; do \
-               echo Source-Makefile: $$makefile; \
-               $(MAKE) DUMP=1 -f $$makefile 2>&- || true; \
+       @-for dir in package/*/; do \
+               echo Source-Makefile: $${dir}Makefile; \
+               $(MAKE) --no-print-dir DUMP=1 -C $$dir 2>&- || true; \
        done > $@
 endif
 
This page took 0.021337 seconds and 4 git commands to generate.