summaryrefslogtreecommitdiff
path: root/package/system
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-10-16 10:30:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-10-16 10:30:16 +0000
commit4f73613c2698346102741b27a8524076eb66c20c (patch)
tree727277be70edf937665d9297cf7770c5e9975675 /package/system
parent7949a3d381d6d53cc03a2ec87bac19f2490d96f1 (diff)
downloadmtk-20170518-4f73613c2698346102741b27a8524076eb66c20c.zip
mtk-20170518-4f73613c2698346102741b27a8524076eb66c20c.tar.gz
mtk-20170518-4f73613c2698346102741b27a8524076eb66c20c.tar.bz2
build: improve feed handling for opkg.conf
- Consider not installed feeds as well - Add option to decide whether to comment disabled feeds Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42931
Diffstat (limited to 'package/system')
-rw-r--r--package/system/opkg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile
index 8a63fb4..6dd3f31 100644
--- a/package/system/opkg/Makefile
+++ b/package/system/opkg/Makefile
@@ -113,7 +113,7 @@ define Package/opkg/Default/install
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; \
+ echo "$(if $(CONFIG_PER_FEED_REPO_ADD_COMMENTED),# )src/gz %n_$$$$d %U/$$$$d" >> $(1)/etc/opkg.conf; \
done
endif
endif