mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 22:43:53 +01:00
change syntax
SVN-Revision: 3778
This commit is contained in:
parent
6afabb7118
commit
e63936f368
@ -25,10 +25,15 @@ while ($line = <>) {
|
||||
}
|
||||
|
||||
foreach $name (sort {uc($a) cmp uc($b)} keys %pkg) {
|
||||
print "$name: ";
|
||||
my $hasdeps = 0;
|
||||
$line = "$pkg{$name}->{src}-compile:";
|
||||
foreach my $dep (@{$pkg{$name}->{depends}}) {
|
||||
print "$dep ";
|
||||
if (defined $pkg{$dep}->{src} && $pkg{$name}->{src} ne $pkg{$dep}->{src}) {
|
||||
$hasdeps = 1;
|
||||
$line .= " $pkg{$dep}->{src}-compile";
|
||||
}
|
||||
}
|
||||
if ($hasdeps) {
|
||||
print "$line\n";
|
||||
}
|
||||
print "\n\tmake -C ".$pkg{$name}->{src}."\n";
|
||||
print "\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user