From e23398ed752cb677c5a8fb0d56c2b3c2c667da0d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 6 Aug 2014 18:18:48 +0000 Subject: [PATCH] include: fix detection of installed feeds Signed-off-by: Jo-Philipp Wich Backport of r42003 SVN-Revision: 42017 --- include/feeds.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/feeds.mk b/include/feeds.mk index 17ce64f83a..97b14491f0 100644 --- a/include/feeds.mk +++ b/include/feeds.mk @@ -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 \ -- 2.30.2