diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-08-06 09:12:37 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-08-06 09:12:37 +0000 |
commit | 960b7643c9a65124b13a478c49a8a89848391edb (patch) | |
tree | fb37c9a22ff3dbc19d2668b532a290388190c4ec /package/system | |
parent | e1258f984ac16f84182e0d4202258d89483bfe0d (diff) | |
download | mtk-20170518-960b7643c9a65124b13a478c49a8a89848391edb.zip mtk-20170518-960b7643c9a65124b13a478c49a8a89848391edb.tar.gz mtk-20170518-960b7643c9a65124b13a478c49a8a89848391edb.tar.bz2 |
build: add new option to add disabled feeds commented out to opkg.conf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42004
Diffstat (limited to 'package/system')
-rw-r--r-- | package/system/opkg/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile index 5dfabc2..8a63fb4 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 |