1263 |
|
my $hashref=shift; |
1264 |
|
|
1265 |
|
$self->verbose(">> CompilerMap_Start: NM ".$name." <<"); |
1266 |
– |
print "compiler check....",$self->{Arch},"\n"; |
1267 |
– |
print "ARCH: ",$self->{ArchStack},"\n"; |
1266 |
|
# We can only map compilers to already-defined architectures, so |
1267 |
|
# we check for 'Arch': |
1268 |
|
if ( $self->{Arch} ) |
1274 |
|
{ |
1275 |
|
$self->{switch}->checktag($name,$hashref,$tag); |
1276 |
|
print GNUmakefile $tag."=".$$hashref{$tag}."\n"; |
1279 |
– |
# if ( defined $$hashref{'version'} ) { |
1280 |
– |
# print GNUmakefile "_V_".$$hashref{'version'}; |
1281 |
– |
# } |
1282 |
– |
# print GNUmakefile "=true\n"; |
1277 |
|
|
1278 |
+ |
if ( defined $$hashref{'version'} ) |
1279 |
+ |
{ |
1280 |
+ |
print GNUmakefile "_V_".$$hashref{'version'}; |
1281 |
+ |
} |
1282 |
+ |
print GNUmakefile "=true\n"; |
1283 |
|
} |
1284 |
|
# $self->{switch}->checktag($name,$hashref,'ref'); |
1285 |
|
|
1326 |
|
} |
1327 |
|
else |
1328 |
|
{ |
1329 |
< |
print "No architecture defined: not possible to define a compiler-to-subarch mapping.","\n"; |
1329 |
> |
return; |
1330 |
|
} |
1331 |
|
} |
1332 |
|
|
1333 |
+ |
|