Subversion Repositories DevTools

Rev

Rev 6294 | Rev 6442 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6294 Rev 6387
Line 312... Line 312...
312
            }
312
            }
313
 
313
 
314
            #
314
            #
315
            #   Generate LMOS platforms entries from the base platform entry
315
            #   Generate LMOS platforms entries from the base platform entry
316
            #   Similar to above, but it has LMOS prefix
316
            #   Similar to above, but it has LMOS prefix
-
 
317
            #   Some tags are not applicable to LMOS
-
 
318
            #       TOOLSET - Will never have an LMOS based toolset
-
 
319
            #   Some tags will not have LMOS_ prefixes
-
 
320
            #       NATIVE PKG_WIN PKG_RPM PKG_DEB SK
-
 
321
            #       ie: Those in @BuildAliases    
317
            #
322
            #
318
            if ($hasLMOS)
323
            if ($hasLMOS)
319
            {
324
            {
320
                my $lmosTarget = 'LMOS_' . $target;
325
                my $lmosTarget = 'LMOS_' . $target;
321
                next if exists $TagByTarget{$lmosTarget}{'MACHTYPE'};
326
                next if exists $TagByTarget{$lmosTarget}{'MACHTYPE'};
Line 325... Line 330...
325
                push @{$TargetByTag{uc('LMOS')}}, $lmosTarget;
330
                push @{$TargetByTag{uc('LMOS')}}, $lmosTarget;
326
 
331
 
327
                foreach my $item ( @data )
332
                foreach my $item ( @data )
328
                {
333
                {
329
                    next if ($item eq 'LMOS');
334
                    next if ($item eq 'LMOS');
-
 
335
                    next if ($item eq 'TOOLSET');
-
 
336
 
330
                    ($item, my $value) = split (/=/, $item,2);
337
                    ($item, my $value) = split (/=/, $item,2);
331
                    $value = 1 unless defined $value;
338
                    $value = 1 unless defined $value;
-
 
339
                    unless (grep /^$item$/, @BuildAliases) {
332
                    $item = 'LMOS_' . $item;
340
                        $item = 'LMOS_' . $item;
-
 
341
                    }
333
                    $TagByTarget{$lmosTarget}{uc($item)} = $value;
342
                    $TagByTarget{$lmosTarget}{uc($item)} = $value;
334
                    push @{$TargetByTag{uc($item)}}, $lmosTarget;
343
                    push @{$TargetByTag{uc($item)}}, $lmosTarget;
335
                }
344
                }
336
 
345
 
337
            }
346
            }