2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 -include $(TMP_DIR)/.packagefeeds
10 FEEDS_AVAILABLE:=$(shell $(SCRIPT_DIR)/feeds list -n)
11 FEEDS_INSTALLED:=$(patsubst %.index,%,$(notdir $(wildcard $(TOPDIR)/feeds/*.index)))
12 FEEDS_ENABLED:=$(foreach feed,$(FEEDS_INSTALLED),$(if $(CONFIG_FEED_$(feed)),$(feed)))
14 PKG_CONFIG_DEPENDS += \
15 CONFIG_PER_FEED_REPO \
16 $(foreach feed,$(FEEDS_INSTALLED),CONFIG_FEED_$(feed))
20 $(strip $(if $(CONFIG_PER_FEED_REPO), \
21 $(abspath $(PACKAGE_DIR)/$(if $(Package/$(1)/feed),$(Package/$(1)/feed),base)), \