summaryrefslogtreecommitdiff
path: root/include/feeds.mk
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-01-16 09:11:56 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-01-16 09:11:56 +0100
commit9c55dede26aa488a9010eae4aa2b9d9b29b3fb2f (patch)
tree3e290f825490071a197ae113fc28ea971472fec9 /include/feeds.mk
parent621fd9fd62b8e405c43eb9d94ac2f9a8524c0496 (diff)
downloadmtk-20170518-9c55dede26aa488a9010eae4aa2b9d9b29b3fb2f.zip
mtk-20170518-9c55dede26aa488a9010eae4aa2b9d9b29b3fb2f.tar.gz
mtk-20170518-9c55dede26aa488a9010eae4aa2b9d9b29b3fb2f.tar.bz2
include/feeds.mk: base list of enabled feeds on available instead of installed feeds
This fixes handling of CONFIG_FEED_* options for uninstalled feeds. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'include/feeds.mk')
-rw-r--r--include/feeds.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/feeds.mk b/include/feeds.mk
index 2ff57e5..054b5aa 100644
--- a/include/feeds.mk
+++ b/include/feeds.mk
@@ -10,7 +10,7 @@
FEEDS_INSTALLED:=$(notdir $(wildcard $(TOPDIR)/package/feeds/*))
FEEDS_AVAILABLE:=$(sort $(FEEDS_INSTALLED) $(shell $(SCRIPT_DIR)/feeds list -n))
-FEEDS_ENABLED:=$(foreach feed,$(FEEDS_INSTALLED),$(if $(CONFIG_FEED_$(feed)),$(feed)))
+FEEDS_ENABLED:=$(foreach feed,$(FEEDS_AVAILABLE),$(if $(CONFIG_FEED_$(feed)),$(feed)))
FEEDS_DISABLED:=$(filter-out $(FEEDS_ENABLED),$(FEEDS_AVAILABLE))
PACKAGE_SUBDIRS=$(PACKAGE_DIR)