Lines Matching refs:target
36 my ($target, @target, $profile);
37 my %target;
49 $target = {
60 push @target, $target;
61 $target{$name} = $target;
63 push @{$target{$1}->{subtargets}}, $2;
64 $target->{board} = $1;
65 $target->{boardconf} = confstr($1);
66 $target->{subtarget} = 1;
67 $target->{parent} = $target{$1};
70 /^Target-Name:\s*(.+)\s*$/ and $target->{name} = $1;
71 /^Target-Path:\s*(.+)\s*$/ and $target->{path} = $1;
72 /^Target-Arch:\s*(.+)\s*$/ and $target->{arch} = $1;
73 /^Target-Arch-Packages:\s*(.+)\s*$/ and $target->{arch_packages} = $1;
74 /^Target-Features:\s*(.+)\s*$/ and $target->{features} = [ split(/\s+/, $1) ];
75 /^Target-Depends:\s*(.+)\s*$/ and $target->{depends} = [ split(/\s+/, $1) ];
76 /^Target-Description:/ and $target->{desc} = get_multiline(*FILE);
77 /^Target-Optimization:\s*(.+)\s*$/ and $target->{cflags} = $1;
78 /^CPU-Type:\s*(.+)\s*$/ and $target->{cputype} = $1;
79 /^Linux-Version:\s*(.+)\s*$/ and $target->{version} = $1;
80 /^Linux-Release:\s*(.+)\s*$/ and $target->{release} = $1;
81 /^Linux-Kernel-Arch:\s*(.+)\s*$/ and $target->{karch} = $1;
82 /^Default-Subtarget:\s*(.+)\s*$/ and $target->{def_subtarget} = $1;
83 /^Default-Packages:\s*(.+)\s*$/ and $target->{packages} = [ split(/\s+/, $1) ];
90 push @{$target->{profiles}}, $profile;
99 foreach my $target (@target) {
100 if (@{$target->{subtargets}} > 0) {
101 $target->{profiles} = [];
104 @{$target->{profiles}} > 0 or $target->{profiles} = [
112 return @target;