Преглед изворни кода

include: fix detection of installed feeds

Signed-off-by: Jo-Philipp Wich <[email protected]>

SVN-Revision: 42003
Jo-Philipp Wich пре 11 година
родитељ
комит
e1258f984a
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      include/feeds.mk

+ 2 - 1
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 \