Make feed update a bit less hacky
This commit is contained in:
parent
70cd82ec91
commit
94dd4ddec0
17
Makefile
17
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user