From 16035a7dd370671670693af9ae63368ee4dd731f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 10 Jul 2018 00:00:01 +0200 Subject: include/feeds.mk: rework generation of opkg distfeeds.conf Allow enabling/commenting/disabling each feed individually by using a tristate config symbol. Signed-off-by: Matthias Schiffer --- scripts/feeds | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/feeds') diff --git a/scripts/feeds b/scripts/feeds index b29e1d5c35..304ef6cbaf 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -824,11 +824,12 @@ sub feed_config() { my $installed = (-f "feeds/$feed->[1].index"); printf "\tconfig FEED_%s\n", $feed->[1]; - printf "\t\tbool \"Enable feed %s\"\n", $feed->[1]; + printf "\t\ttristate \"Enable feed %s\"\n", $feed->[1]; printf "\t\tdepends on PER_FEED_REPO\n"; printf "\t\tdefault y\n" if $installed; printf "\t\thelp\n"; - printf "\t\t Enable the \\\"%s\\\" feed at %s.\n", $feed->[1], $feed->[2][0]; + printf "\t\t Enable the \\\"%s\\\" feed in opkg distfeeds.conf.\n", $feed->[1]; + printf "\t\t Say M to add the feed commented out.\n"; printf "\n"; } -- cgit v1.2.3