X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/89a10d913b8e4cf2d42a32ab9101c19197d48967..95ef6e1d42c87710ededc921e4ae1175381ddf9d:/scripts/metadata.pl diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 9f06299aa..9cb846539 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -530,6 +530,7 @@ sub print_package_config_category($) { print "\t\tdefault $default\n"; } print mconf_depends($pkg->{name}, $pkg->{depends}, 0); + print mconf_depends($pkg->{name}, $pkg->{mdepends}, 0); print "\t\thelp\n"; print $pkg->{description}; print "\n"; @@ -738,7 +739,7 @@ sub gen_package_mk() { if ($idx) { my $depline; next if $pkg->{src} eq $pkg_dep->{src}.$suffix; - next if $dep{$pkg->{src}."->".$idx}; + next if $dep{$condition.":".$pkg->{src}."->".$idx}; next if $dep{$pkg->{src}."->($dep)".$idx} and $pkg_dep->{vdepends}; my $depstr;