-.pkginfo: FORCE
-ifneq ($(shell ./scripts/timestamp.pl -p .pkginfo package Makefile),.pkginfo)
- @echo Collecting package info...
- @-for dir in package/*/; do \
+ifeq ($(FORCE),)
+ .config scripts/config/conf scripts/config/mconf: tmp/.prereq-build
+ world: tmp/.prereq-packages tmp/.prereq-target
+endif
+
+ifeq ($(IS_TTY),1)
+ define progress
+ printf "\033[M\r$(1)" >&2;
+ endef
+endif
+
+define dumpinfo
+ @mkdir -p tmp
+ @echo -n Collecting $(2) info...
+ @-for dir in $(1)/*/; do \
+ [ -f "$${dir}/Makefile" ] || continue; \
+ $(call progress,Collecting $(2) info: $${dir%%/}) \