diff options
Diffstat (limited to 'openwrt/Makefile')
-rw-r--r-- | openwrt/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile index b938c24..ec1e367 100644 --- a/openwrt/Makefile +++ b/openwrt/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 $@ |