X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7d563990444cf27df1590f1c2404713d289d8646..05294ec63e183c24a6b338b0aa9dd75e83033cb6:/Makefile?ds=inline diff --git a/Makefile b/Makefile index c323a9c24..9b341f124 100644 --- 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