Subversion Repositories DevTools

Rev

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

Rev 7300 Rev 7310
Line 25... Line 25...
25
#                   to be added to the build system.
25
#                   to be added to the build system.
26
#
26
#
27
#                   This call is allowed to alter or extend the platform build
27
#                   This call is allowed to alter or extend the platform build
28
#                   information.
28
#                   information.
29
#
29
#
30
#                   This particular function, in the SOLARIS8_SPARC32.CFG file,
-
 
31
#                   is called when the target platform 'SOLARIS8_SPARC32'.
-
 
32
#
-
 
33
# Inputs          : $pInfo          - Reference to the platform build info hash
-
 
34
#
-
 
35
# Returns         : Nothing yet
-
 
36
#
-
 
37
sub new_platform
-
 
38
{
-
 
39
    my $class = shift;              # Not really a class, but its called like a class
-
 
40
    my $pInfo  = shift;
-
 
41
    #
-
 
42
    #   Insert data into the class
-
 
43
    #
-
 
44
 
-
 
45
    #
-
 
46
    #   Legacy target. Really solaris8_sparc32, but it has been configured
-
 
47
    #   as SOLARIS. This, unfortunately, must continue.
-
 
48
    #
-
 
49
    $pInfo->{TARGET} = 'SOLARIS';
-
 
50
 
-
 
51
    #
-
 
52
    #   Specify the Platform config file that should be used for the
-
 
53
    #   remainder of the configuration information.
-
 
54
    #
-
 
55
    $pInfo->{TARGET_CFG} = 'SOLARIS8_SPARC32';
-
 
56
}
-
 
57
 
-
 
58
#-------------------------------------------------------------------------------
-
 
59
# Function        : add_platform
-
 
60
#
-
 
61
# Description     : This function is invoked just before a 'platform' is about
-
 
62
#                   to be added to the build system.
-
 
63
#
-
 
64
#                   This call is allowed to alter or extend the platform build
-
 
65
#                   information.
-
 
66
#
-
 
67
#                   This particular function, in the SOLARIS.CFG file, is called
30
#                   This particular function, in the SOLARIS.CFG file, is called
68
#                   when the target platform 'SOLARIS'. The SOLARIS target is
31
#                   when the target platform 'SOLARIS'. The SOLARIS target is
69
#                   a complex as it serves two purposes.
32
#                   a complex as it serves two purposes.
70
#
33
#
71
#                   1 )SOLARIS is a dynamic platform. It will be chnaged
34
#                   1 )SOLARIS is a dynamic platform. It will be chnaged
72
#                      into a machine specific platform.
35
#                      into a machine specific platform.
73
#
36
#
74
#                   2) One of the 'dynamic' platforms is itself SOLARIS
37
#                   2) One of the 'dynamic' platforms is itself SOLARIS
75
#                      This name exists for compatability purposes as it is
38
#                      This name exists for compatability purposes as it is
76
#                      really a SOLARIS8_sparc32, but the name and a stack
39
#                      really a SOLARIS8_SPARC32, but the name and a stack
77
#                      of kludges must be retained.
40
#                      of kludges must be retained.
78
#
41
#
79
# Inputs          : $pInfo          - Reference to the platform build info hash
42
# Inputs          : $pInfo          - Reference to the platform build info hash
80
#
43
#
81
# Returns         : Nothing yet
44
# Returns         : Nothing yet
Line 88... Line 51...
88
    #
51
    #
89
    #   Insert data into the class
52
    #   Insert data into the class
90
    #
53
    #
91
 
54
 
92
    #
55
    #
93
    #   Provide an alais for the name that we would really like to call
56
    #   Provide alternate alias names for this platform.
94
    #   this platform.
-
 
95
    #
57
    #
96
    $pInfo->{ALIAS} = ['SOLARIS8_SPARC32', 'SOLARIS_SPARC'];
58
    $pInfo->{ALIAS} = ['SOLARIS_SPARC', 'SOLARIS'];
97
 
59
 
98
    #
60
    #
99
    #   ALSO_USES
61
    #   ALSO_USES
100
    #   An array of other platforms that may be 'used' by this platform.
62
    #   An array of other platforms that may be 'used' by this platform.
101
    #   The process is not recursive
63
    #   The process is not recursive