include/feeds.mk: base list of enabled feeds on available instead of installed feeds
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 16 Jan 2017 08:11:56 +0000 (09:11 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 16 Jan 2017 08:11:56 +0000 (09:11 +0100)
This fixes handling of CONFIG_FEED_* options for uninstalled feeds.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
include/feeds.mk

index 2ff57e576246c9b3b587c1bb50cb5908cdcd8d3d..054b5aa7965f01658f60a707311eb851a3dd0818 100644 (file)
@@ -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)