Enable the site config to include own package feeds

This commit is contained in:
Jan-Philipp Litza 2014-01-17 17:23:58 +01:00
parent 4b8cc47c05
commit ca95374ea1
2 changed files with 3 additions and 1 deletions

View File

@ -143,6 +143,7 @@ export GLUON_CONFIGURE := $(GLUONDIR)/scripts/configure.pl
feeds: FORCE
[ ! -f $(GLUON_SITEDIR)/modules ] || . $(GLUON_SITEDIR)/modules && for feed in $$GLUON_SITE_FEEDS; do echo src-link $$feed ../../packages/$$feed; done > feeds.conf
. $(GLUONDIR)/modules && for feed in $$GLUON_FEEDS; do echo src-link $$feed ../../packages/$$feed; done > feeds.conf
+$(GLUONMAKE) refresh_feeds V=s$(OPENWRT_VERBOSE)

View File

@ -1,7 +1,8 @@
. "$1"/modules
[ ! -f "$1"/site/modules ] || . "$1"/site/modules
GLUON_MODULES=openwrt
for feed in $GLUON_FEEDS; do
for feed in $GLUON_SITE_FEEDS $GLUON_FEEDS; do
GLUON_MODULES="$GLUON_MODULES packages/$feed"
done