From 94dd4ddec00c0896c68fd1b308a8f6fdec180ae3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 5 Apr 2013 03:24:55 +0200 Subject: [PATCH] Make feed update a bit less hacky --- Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 77d82cde..af906b64 100644 --- a/Makefile +++ b/Makefile @@ -95,16 +95,17 @@ $(package/stamp-compile): $(package/stamp-cleanup) clean: FORCE rm -rf $(GLUON_BUILDDIR) +refresh_feeds: FORCE + ( \ + export SCAN_COOKIE=; \ + scripts/feeds uninstall -a; \ + scripts/feeds update -a; \ + scripts/feeds install -a; \ + ) + feeds: FORCE ln -sf $(GLUON_BUILDERDIR)/feeds.conf feeds.conf - - scripts/feeds uninstall -a - scripts/feeds update -a - - scripts/feeds install -a - - rm -f $(TMP_DIR)/info/.files-packageinfo-$(SCAN_COOKIE) - $(SUBMAKE) prepare-tmpinfo OPENWRT_BUILD=0 + $(GLUONMAKE) refresh_feeds V=s$(OPENWRT_VERBOSE) config: FORCE echo -e 'CONFIG_TARGET_$(BOARD)=y\nCONFIG_TARGET_ROOTFS_JFFS2=n\n$(subst ${space},\n,$(patsubst %,CONFIG_PACKAGE_%=m,$(sort $(GLUON_DEFAULT_PACKAGES) $(GLUON_SITE_PACKAGES) $(PROFILE_PACKAGES))))' > .config