author | Mike Kinghan <mikek@symbian.org> |
Wed, 01 Dec 2010 12:02:41 +0000 | |
changeset 42 | cf609178ac39 |
parent 26 | d10c1f04b2be |
permissions | -rw-r--r-- |
26
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
1 |
# Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
2 |
# All rights reserved. |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
3 |
# This component and the accompanying materials are made available |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
4 |
# under the terms of "Eclipse Public License v1.0" |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
5 |
# which accompanies this distribution, and is available |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
7 |
# |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
8 |
# Initial Contributors: |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
9 |
# Nokia Corporation - initial contribution. |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
10 |
# |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
11 |
# Contributors: |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
12 |
# |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
13 |
# Description: |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
14 |
# this package does various ancillary things for armedg modules |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
15 |
# |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
16 |
# |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
17 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
18 |
package Armutl; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
19 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
20 |
require Exporter; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
21 |
@ISA=qw(Exporter); |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
22 |
@EXPORT=qw( |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
23 |
Armutl_Help_Mmp |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
24 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
25 |
Armutl_DoMmp |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
26 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
27 |
Armutl_ArmIncDir |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
28 |
Armutl_ArmLibList |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
29 |
Armutl_ArmRT |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
30 |
Armutl_AsmFileList |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
31 |
Armutl_ArmVersion |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
32 |
Armutl_RVCTMajorVersion |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
33 |
Armutl_RVCTMinorVersion |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
34 |
Armutl_RVCTPatchLevel |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
35 |
Armutl_RVCTBuildNumber |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
36 |
Armutl_ArmLibDir |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
37 |
); |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
38 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
39 |
use RVCT_plat2set; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
40 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
41 |
my $ArmInc=''; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
42 |
my @ArmLibList=(); |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
43 |
my $ArmRT=0; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
44 |
my @AsmFileList=(); |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
45 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
46 |
# make sure that some of the tool subroutines still work in case of Plat() does not exists in namespace main |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
47 |
my $Plat = main::Plat() if defined &main::Plat; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
48 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
49 |
my ($RVCTMajorVersion, $RVCTMinorVersion, $RVCTBuildNumber) = RVCT_plat2set::get_version_list($Plat); |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
50 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
51 |
my $RVCTVersion = "$RVCTMajorVersion.$RVCTMinorVersion"; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
52 |
my $RVCTPatchLevel = 0; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
53 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
54 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
55 |
sub Armutl_Help_Mmp { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
56 |
# provide the help text for START <armedg platforms> END blocks |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
57 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
58 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
59 |
"ARMINC // include value of RVCT*INC environment variable to search paths\n", |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
60 |
"ARMLIBS // list the ARM supplied libraries to be linked against\n", |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
61 |
"ARMRT // indicates this target froms part of the runtime and so\n", |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
62 |
" // shouldn't be linked against itself or other runtime libs\n", |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
63 |
"ARMNAKEDASM // list .cpp files subject to auto-translation from GCC inline asm to ARM embedded asm\n" |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
64 |
; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
65 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
66 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
67 |
sub Armutl_DoMmp (@) { # takes platform text |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
68 |
my @PlatTxt=@_; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
69 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
70 |
my $BaseTrg=&main::BaseTrg; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
71 |
my $BasicTrgType=&main::BasicTrgType; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
72 |
my $MakeFilePath=&main::MakeFilePath; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
73 |
my $MMPFILE=&main::MmpFile; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
74 |
my @UidList=&main::UidList; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
75 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
76 |
# set up START ARMV5|THUMB2 ... END block module variables |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
77 |
my @MmpWarn=(); |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
78 |
my $Line; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
79 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
80 |
LINE: foreach $Line (@PlatTxt) { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
81 |
my $LineInfo=shift @$Line; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
82 |
$_=shift @$Line; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
83 |
if (/^ARMINC$/o) { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
84 |
$ArmInc = RVCT_plat2set::get_inc_path($Plat); |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
85 |
next LINE; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
86 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
87 |
if (/^ARMRT$/o) { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
88 |
$ArmRT = 1; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
89 |
next LINE; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
90 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
91 |
if (/^ARMLIBS$/o) { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
92 |
my $LibVar = "RVCT${RVCTMajorVersion}${RVCTMinorVersion}LIB"; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
93 |
my $ArmLibDir = RVCT_plat2set::get_lib_path($Plat); |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
94 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
95 |
push @MmpWarn, "$LineInfo : No libraries specified for keyword ARMLIBS\n" unless @$Line; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
96 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
97 |
while (@$Line) { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
98 |
my $lib = shift @$Line; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
99 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
100 |
my $lib_path = RVCT_plat2set::find_lib( $Plat, $lib ); |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
101 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
102 |
if ($lib_path) |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
103 |
{ |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
104 |
push @ArmLibList, $lib_path; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
105 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
106 |
else |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
107 |
{ |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
108 |
push @MmpWarn, "$LineInfo : arm library file $lib not found.\n" ; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
109 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
110 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
111 |
next LINE; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
112 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
113 |
if (/^ARMNAKEDASM$/o) { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
114 |
push @MmpWarn, "$LineInfo : No files specified for keyword ARMNAKEDASM\n" unless @$Line; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
115 |
push @AsmFileList, @$Line; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
116 |
next LINE; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
117 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
118 |
push @MmpWarn, "$LineInfo : Unrecognised Keyword \"$_\"\n"; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
119 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
120 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
121 |
undef $Line; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
122 |
if (@MmpWarn) { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
123 |
warn |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
124 |
"\nMMPFILE \"$MMPFILE\"\n", |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
125 |
"START .. END BLOCK WARNINGS(S)\n", |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
126 |
@MmpWarn, |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
127 |
"\n" |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
128 |
; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
129 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
130 |
undef @MmpWarn; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
131 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
132 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
133 |
sub Armutl_ArmIncDir() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
134 |
$ArmInc; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
135 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
136 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
137 |
sub Armutl_ArmLibList() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
138 |
@ArmLibList; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
139 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
140 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
141 |
sub Armutl_ArmRT() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
142 |
$ArmRT; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
143 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
144 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
145 |
sub Armutl_AsmFileList() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
146 |
@AsmFileList; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
147 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
148 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
149 |
sub Armutl_ArmVersion() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
150 |
return $RVCTVersion; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
151 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
152 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
153 |
sub Armutl_RVCTMajorVersion() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
154 |
return $RVCTMajorVersion; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
155 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
156 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
157 |
sub Armutl_RVCTMinorVersion() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
158 |
return $RVCTMinorVersion; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
159 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
160 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
161 |
sub Armutl_RVCTPatchLevel() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
162 |
return $RVCTPatchLevel; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
163 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
164 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
165 |
sub Armutl_RVCTBuildNumber() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
166 |
return $RVCTBuildNumber; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
167 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
168 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
169 |
sub Armutl_ArmLibDir() { |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
170 |
my $LibVar = "RVCT${RVCTMajorVersion}${RVCTMinorVersion}LIB"; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
171 |
my $ArmLibDir = $ENV{$LibVar}; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
172 |
return $ArmLibDir; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
173 |
} |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
174 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
175 |
1; |
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
176 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
177 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
178 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
179 |
|
d10c1f04b2be
Linux support for ROM building under Raptor
Mike Kinghan <mikek@symbian.org>
parents:
diff
changeset
|
180 |