X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/64c71ec5d997737fe1db51d1a1d50b669faec07b..05294ec63e183c24a6b338b0aa9dd75e83033cb6:/Makefile diff --git a/Makefile b/Makefile index 06288de6b..9b341f124 100644 --- a/Makefile +++ b/Makefile @@ -41,11 +41,11 @@ 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