Subversion Repositories DevTools

Rev

Rev 5709 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
227 dpurdie 1
# -*- mode: perl; indent-width: 4; -*-
2
###############################################################################
5709 dpurdie 3
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
227 dpurdie 4
# 
5
# File:         PLATFORM/MCR
6
#
7
# Contents:     Support for the MCR platform with a m16c toolset
8
#
9
###############################################################################
10
#
11
 
12
MosInit();
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 MosInit
33
{
34
    my( @args ) = @ScmPlatformArgs;             # Platform arguments
35
 
36
#.. Parse arguments
37
#   Not all arguments are processed here
38
#   Ignore unknown arguments
39
#
40
    Debug( "MCR(@args)\n" );
41
 
42
#    foreach $_ ( @args ) {
43
#    }
44
 
45
#... Toolset
46
#
47
    Toolset( '*', "m16c.pl" );
48
 
49
 
50
#... Platform
51
#    
52
    PlatformDefines( "MCR.DEF" );
53
}
54