Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
259 dpurdie 1
###############################################################################
2
# Copyright (c) ERG Electronics Ltd. 1996-2008
3
# 
4
# File:         PLATFORM/ACEX
5
#
6
# Contents:     Support for the Fairchild ACEx chipset platform with a ACE toolset
7
#               Only available on WIN32
8
#
9
###############################################################################
10
#
11
 
12
ACEXInit();
13
 
14
###############################################################################
15
#
16
#   This function is named after the invoking platform and the file that
17
#   this function is in. The two are bound.
18
#
19
#   The purpose of the xxxInit() is to provide platform-specfic support
20
#   to JATS. The function must do:
21
#
22
#       1) Parse any platform specific arguments
23
#          Arguments are specified with a PlatformRequire() statement
24
#       2) Define the toolset in use
25
#       3) Add flags and definitions as required
26
#
27
#
28
#   Note: Platform arguments are passed through in the Platform()
29
#         statement within a makefile.pl
30
#
31
#
32
sub ACEXInit
33
{
34
    my( @args ) = @ScmPlatformArgs;             # Platform arguments
35
 
36
#.. Parse arguments
37
#
38
    Debug( "ACEX(@args)\n" );
39
 
40
    foreach $_ ( @args ) {
41
        if (/^--product=(.*)/) {                # Ignore
42
 
43
        } else {
44
            Message( "ACEX: unknown option $_ -- ignored\n" );
45
        }
46
    }
47
 
48
#... Toolset
49
#
50
    Toolset( '*', 'ACEX.PL' );
51
 
52
}
53
1;
54