Skip to content
Snippets Groups Projects
Commit 94dd4dde authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

Make feed update a bit less hacky

parent 70cd82ec
No related branches found
No related tags found
No related merge requests found
...@@ -95,16 +95,17 @@ $(package/stamp-compile): $(package/stamp-cleanup) ...@@ -95,16 +95,17 @@ $(package/stamp-compile): $(package/stamp-cleanup)
clean: FORCE clean: FORCE
rm -rf $(GLUON_BUILDDIR) rm -rf $(GLUON_BUILDDIR)
refresh_feeds: FORCE
( \
export SCAN_COOKIE=; \
scripts/feeds uninstall -a; \
scripts/feeds update -a; \
scripts/feeds install -a; \
)
feeds: FORCE feeds: FORCE
ln -sf $(GLUON_BUILDERDIR)/feeds.conf feeds.conf ln -sf $(GLUON_BUILDERDIR)/feeds.conf feeds.conf
$(GLUONMAKE) refresh_feeds V=s$(OPENWRT_VERBOSE)
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
config: FORCE 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 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment