X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ea4600ff65ca71a211a2b820dfecc114790aef4a..5a76cd437c8b0271c03ade8ad07335b2e8f590a3:/scripts/metadata.pl diff --git a/scripts/metadata.pl b/scripts/metadata.pl index ca00fcae6..54ac06390 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -549,9 +549,10 @@ EOF print <{name} bool "$feature->{title}" - help -$feature->{description} EOF + $feature->{description} =~ /\w/ and do { + print "\t\thelp\n".$feature->{description}."\n"; + }; } print "endchoice\n" } @@ -620,6 +621,9 @@ sub gen_package_mk() { if ($config) { $pkg->{buildonly} and $config = ""; print "package-$config += $pkg->{subdir}$pkg->{src}\n"; + if ($pkg->{variant}) { + print "\$(curdir)/$pkg->{subdir}$pkg->{src}/variants += \$(if $config,$pkg->{variant})\n" + } $pkg->{prereq} and print "prereq-$config += $pkg->{subdir}$pkg->{src}\n"; }