| 227 |
dpurdie |
1 |
# -*- mode: perl; indent-width: 4; -*-
|
|
|
2 |
###############################################################################
|
| 7300 |
dpurdie |
3 |
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
|
| 227 |
dpurdie |
4 |
#
|
|
|
5 |
# File: PLATFORM/MOS68K
|
|
|
6 |
#
|
|
|
7 |
# Contents: Support for the MOS platform with a MC68K toolset
|
|
|
8 |
#
|
|
|
9 |
# Revision History:
|
|
|
10 |
# 10-Feb-04 DDP Created
|
|
|
11 |
#
|
|
|
12 |
###############################################################################
|
|
|
13 |
#
|
|
|
14 |
|
|
|
15 |
MosInit();
|
|
|
16 |
|
|
|
17 |
###############################################################################
|
|
|
18 |
#
|
|
|
19 |
# The MOS68KRM platform is the MOS68K for Rome
|
|
|
20 |
# It uses a specfic version of the compiler
|
|
|
21 |
# It uses specfic compiler flags
|
|
|
22 |
#
|
|
|
23 |
# This function is named after the invoking platform and the file that
|
|
|
24 |
# this function is in. The two are bound.
|
|
|
25 |
#
|
|
|
26 |
# The purpose of the xxxInit() is to provide platform-specfic support
|
|
|
27 |
# to JATS. The function must do:
|
|
|
28 |
#
|
|
|
29 |
# 1) Parse any platform specific arguments
|
|
|
30 |
# Arguments are specified with a PlatformRequire() statement
|
|
|
31 |
# 2) Define the toolset in use
|
|
|
32 |
# 3) Add flags and definitions as required
|
|
|
33 |
#
|
|
|
34 |
#
|
|
|
35 |
# Note: Platform arguments are passed through in the Platform()
|
|
|
36 |
# statement within a makefile.pl
|
|
|
37 |
#
|
|
|
38 |
#
|
|
|
39 |
sub MosInit
|
|
|
40 |
{
|
|
|
41 |
|
|
|
42 |
#... Toolset
|
|
|
43 |
# The PlatformARgs will also be processed by the toolset
|
|
|
44 |
#
|
|
|
45 |
Toolset( '*', "mos_mri.pl", "--68k", "--Version=45", "--NoDefines");
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
#... Platform
|
|
|
49 |
#
|
|
|
50 |
PlatformDefines( "mos68krm.def" );
|
|
|
51 |
}
|
|
|
52 |
|