1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 22:24:39 +02:00

change syntax

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3778 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mbm 2006-05-14 12:30:52 +00:00
parent 859af2ce0d
commit 282c15a0b0

View File

@ -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";
}