Subversion Repositories DevTools

Rev

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

Rev 4688 Rev 4728
Line 704... Line 704...
704
        else{
704
        else{
705
            push @{$buildentry{ARGS}}, $_;
705
            push @{$buildentry{ARGS}}, $_;
706
        }
706
        }
707
    }
707
    }
708
 
708
 
-
 
709
    #   Detect reserved words being misused as a platform name
-
 
710
    #   At the moment, the value of NATIVE is calculate towards the end of the
-
 
711
    #   build process so that it can be limited to platfroms that 
-
 
712
    #   are present.
-
 
713
    Error('Invalid use of the platform alias NATIVE','The NATIVE alias cannot be used to define build platforms')
-
 
714
        if (uc($target) eq 'NATIVE');
-
 
715
 
709
    #
716
    #
710
    #   Allow per-platform processing to be alter the basic information
717
    #   Allow per-platform processing to be alter the basic information
711
    #   Special processing may be perform to extend the information
718
    #   Special processing may be perform to extend the information
712
    #   Allows special processing to be enabled on a per-target basis
719
    #   Allows special processing to be enabled on a per-target basis
713
    #
720
    #
Line 2764... Line 2771...
2764
    #   Calcuate the aliases that are being extracted from targets
2771
    #   Calcuate the aliases that are being extracted from targets
2765
    #
2772
    #
2766
    Process_TargetAlias();
2773
    Process_TargetAlias();
2767
 
2774
 
2768
    #
2775
    #
-
 
2776
    #   Calculate NATIVE alaias
-
 
2777
    #   Limit the Native Alias to active platforms
-
 
2778
    #
-
 
2779
    if (exists $BUILDALIAS{NATIVE})
-
 
2780
    {
-
 
2781
        Warning('User has manually specified a NATIVE alias','Default alias will not be set.');
-
 
2782
    }
-
 
2783
    else
-
 
2784
    {
-
 
2785
        my %activePatformMap = map {$_ => 1} @BUILD_ACTIVEPLATFORMS;
-
 
2786
        my @activeNatives;
-
 
2787
        foreach my $item (PlatformConfig::getNativeTargets())
-
 
2788
        {
-
 
2789
            push (@activeNatives, $item) if exists($activePatformMap{$item});
-
 
2790
        }
-
 
2791
        
-
 
2792
        $BUILDALIAS{NATIVE} = join(' ', @activeNatives);
-
 
2793
    }
-
 
2794
 
-
 
2795
    #
2769
    #   Create dummy package to describe the Interface directory
2796
    #   Create dummy package to describe the Interface directory
2770
    #
2797
    #
2771
    CreateInterfacePackage();
2798
    CreateInterfacePackage();
2772
 
2799
 
2773
    #
2800
    #