include: fix detection of installed feeds

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42003

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42017 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2014-08-06 18:18:48 +00:00
parent 25d149c3f0
commit 05528edc75
1 changed files with 2 additions and 1 deletions

View File

@ -8,8 +8,9 @@
-include $(TMP_DIR)/.packagefeeds
FEEDS_AVAILABLE:=$(shell $(SCRIPT_DIR)/feeds list -n)
FEEDS_INSTALLED:=$(patsubst %.index,%,$(notdir $(wildcard $(TOPDIR)/feeds/*.index)))
FEEDS_INSTALLED:=$(notdir $(wildcard $(TOPDIR)/package/feeds/*))
FEEDS_ENABLED:=$(foreach feed,$(FEEDS_INSTALLED),$(if $(CONFIG_FEED_$(feed)),$(feed)))
FEEDS_DISABLED:=$(filter-out $(FEEDS_ENABLED),$(FEEDS_INSTALLED))
PKG_CONFIG_DEPENDS += \
CONFIG_PER_FEED_REPO \