X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/15230af45d228f8311beb6f5216620cbe794a0c9..7e450a1c869a5b227e3c91c4e71049059f1193e6:/scripts/gen_deps.pl diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl index af206f004..0fc80aae8 100755 --- a/scripts/gen_deps.pl +++ b/scripts/gen_deps.pl @@ -28,6 +28,8 @@ while ($line = <>) { $line =~ /^Source-Makefile: \s*(.+\/([^\/]+)\/Makefile)\s*$/ and do { $makefile = $1; $src = $2; + defined $pkg{$src} or $pkg{$src} = {}; + $pkg{$src}->{src} = $src; }; $line =~ /^Package: \s*(.+)\s*$/ and do { $name = $1;