summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b938c241f9..ec1e3677ab 100644
--- a/Makefile
+++ b/Makefile
@@ -38,10 +38,6 @@ endif
endif
export OPENWRTVERSION
-ifeq ($(shell ./scripts/timestamp.pl -p .pkginfo package),package)
-.pkginfo: pkginfo-clean
-endif
-
.pkginfo:
@echo Collecting package info...
@-for makefile in package/*/Makefile; do \
@@ -49,6 +45,10 @@ endif
$(MAKE) DUMP=1 -f $$makefile 2>&- || true; \
done > $@
+ifeq ($(shell ./scripts/timestamp.pl -p .pkginfo package),package)
+.pkginfo: pkginfo-clean
+endif
+
.config.in: .pkginfo
./scripts/gen_menuconfig.pl < $< > $@ || rm -f $@