aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-08-06 09:12:37 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-08-06 09:12:37 +0000
commitbdc389b0f53587aeecb9725f0f28c1bcda180167 (patch)
treee545328ab20e1b7f77485f7a429925c21233084b /package/system
parent07d7a0b0cb0773c8a75c2cd44436ef0ab59775b8 (diff)
downloadupstream-bdc389b0f53587aeecb9725f0f28c1bcda180167.tar.gz
upstream-bdc389b0f53587aeecb9725f0f28c1bcda180167.tar.bz2
upstream-bdc389b0f53587aeecb9725f0f28c1bcda180167.zip
build: add new option to add disabled feeds commented out to opkg.conf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42004 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system')
-rw-r--r--package/system/opkg/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile
index 5dfabc2ca2..8a63fb4352 100644
--- a/package/system/opkg/Makefile
+++ b/package/system/opkg/Makefile
@@ -111,6 +111,11 @@ define Package/opkg/Default/install
for d in base $(FEEDS_ENABLED); do \
echo "src/gz %n_$$$$d %U/$$$$d" >> $(1)/etc/opkg.conf; \
done
+ ifneq ($(CONFIG_PER_FEED_REPO_ADD_DISABLED),)
+ for d in $(FEEDS_DISABLED); do \
+ echo "# src/gz %n_$$$$d %U/$$$$d" >> $(1)/etc/opkg.conf; \
+ done
+ endif
endif
$(VERSION_SED) $(1)/etc/opkg.conf
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg