Subversion Repositories DevTools

Rev

Rev 6177 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6177 Rev 6276
Line 17... Line 17...
17
 
17
 
18
package CSHARP2008_Build;
18
package CSHARP2008_Build;
19
use JatsError;
19
use JatsError;
20
 
20
 
21
#-------------------------------------------------------------------------------
21
#-------------------------------------------------------------------------------
22
# Function        : new_platform
-
 
23
#
-
 
24
# Description     : Called when a new platform is being created
-
 
25
#                   The function can extend the build information
-
 
26
#
-
 
27
#                   At the moment it simply removes the build from unsuitable
-
 
28
#                   machine types.
-
 
29
#
-
 
30
# Inputs          : $pInfo          - Reference to the platform build info hash
-
 
31
#
-
 
32
# Returns         : Nothing yet
-
 
33
#
-
 
34
 
-
 
35
sub new_platform
-
 
36
{
-
 
37
    my $class = shift;              # Not really a class, but its called like a class
-
 
38
    my $pInfo = shift;
-
 
39
 
-
 
40
    #
-
 
41
    #   Ignore this platform if there is no way that it can be built on the
-
 
42
    #   current machine.
-
 
43
    #
-
 
44
    unless ( PlatformConfig::targetHasTag( 'CSHARP2008', 'KNOWN' ) )
-
 
45
    {
-
 
46
        Verbose ("CSHARP2008 will not build on this machine type: $::GBE_MACHTYPE");
-
 
47
        $pInfo->{NOT_AVAILABLE} = 1;
-
 
48
        return;
-
 
49
    }
-
 
50
}
-
 
51
 
-
 
52
#-------------------------------------------------------------------------------
-
 
53
# Function        : add_platform
22
# Function        : add_platform
54
#
23
#
55
# Description     : This function is invoked just before a 'platform' is about
24
# Description     : This function is invoked just before a 'platform' is about
56
#                   to be added to the build system.
25
#                   to be added to the build system.
57
#
26
#