summaryrefslogtreecommitdiff
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-29 01:21:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-29 01:21:56 +0000
commit97b61354626866dd2483c2a283ab9b2bc087ac74 (patch)
tree4ca23a9af854189fb18b7e81268a7c0089890335 /scripts/metadata.pl
parent03543ec4a4ee24df583843d386a7a39372865961 (diff)
downloadmtk-20170518-97b61354626866dd2483c2a283ab9b2bc087ac74.zip
mtk-20170518-97b61354626866dd2483c2a283ab9b2bc087ac74.tar.gz
mtk-20170518-97b61354626866dd2483c2a283ab9b2bc087ac74.tar.bz2
add a packaging method that installs files into a subdirectory of bin/ instead of an ipkg
SVN-Revision: 9060
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index f3d6e9d..aa5df6f 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -361,7 +361,7 @@ sub print_package_config_category($) {
print "\t";
$pkg->{menu} and print "menu";
print "config PACKAGE_".$pkg->{name}."\n";
- print "\t\ttristate \"$title\"\n";
+ print "\t\t".($pkg->{tristate} ? 'tristate' : 'bool')." \"$title\"\n";
print "\t\tdefault y if DEFAULT_".$pkg->{name}."\n";
foreach my $default (split /\s*,\s*/, $pkg->{default}) {
print "\t\tdefault $default\n";