Subversion Repositories DevTools

Rev

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

Rev 245 Rev 261
Line 10... Line 10...
10
#       This file provides Toolset initialisation and plugin functions
10
#       This file provides Toolset initialisation and plugin functions
11
#       to makelib.pl2
11
#       to makelib.pl2
12
#
12
#
13
# Contents:
13
# Contents:
14
#
14
#
15
# Revision History:
-
 
16
#       26-Oct-05   DDP     Created
-
 
17
#............................................................................#
15
#............................................................................#
18
 
16
 
19
use strict;
17
use strict;
20
 
18
 
21
our $s;
19
our $s;
Line 25... Line 23...
25
 
23
 
26
our @ScmToolsetArgs;
24
our @ScmToolsetArgs;
27
our @ScmPlatformArgs;
25
our @ScmPlatformArgs;
28
our $ScmToolsetVersion;
26
our $ScmToolsetVersion;
29
our $ScmToolsetGenerate;
27
our $ScmToolsetGenerate;
30
our $ScmToolsetIFLAG3;
-
 
31
our $ScmToolsetProgDependancies;
28
our $ScmToolsetProgDependancies;
32
our %ScmCompilerOpts;
29
our %ScmCompilerOpts;
33
our %SRCS;
30
our %SRCS;
34
our $ScmBuildVersion;
31
our $ScmBuildVersion;
35
our @PROGS;
32
our @PROGS;
Line 55... Line 52...
55
        Message( "m16c: unknown toolset argument $_ -- ignored\n" );
52
        Message( "m16c: unknown toolset argument $_ -- ignored\n" );
56
    }
53
    }
57
 
54
 
58
#.. Parse Platform Arguments
55
#.. Parse Platform Arguments
59
#
56
#
60
    my( @args ) = @ScmPlatformArgs;             # Platform arguments
57
    @args = @ScmPlatformArgs;                   # Platform arguments
61
    foreach $_ ( @args ) {
58
    foreach $_ ( @args ) {
62
        if (/^--product=(.*)/) {                # GBE product
59
        if (/^--product=(.*)/) {                # GBE product
63
            $product = $1;
60
            $product = $1;
64
        } else {
61
        } else {
65
            Message( "m16c: unknown platform argument $_ -- ignored\n" );
62
            Message( "m16c: unknown platform argument $_ -- ignored\n" );
Line 76... Line 73...
76
 
73
 
77
#.. Toolset configuration
74
#.. Toolset configuration
78
#
75
#
79
    $ScmToolsetVersion = "1.0.0";               # our version
76
    $ScmToolsetVersion = "1.0.0";               # our version
80
    $ScmToolsetGenerate = 0;                    # generate optional
77
    $ScmToolsetGenerate = 0;                    # generate optional
81
    $ScmToolsetIFLAG3 = 1;                      # supports IFLAG3
-
 
82
    $ScmToolsetProgDependancies = 0;            # handle Prog dependancies myself
78
    $ScmToolsetProgDependancies = 0;            # handle Prog dependancies myself
83
 
79
 
84
#.. Define the environment
80
#.. Define the environment
85
#
81
#
86
    #
82
    #