|
1 #<bsf># |
|
2 |
|
3 # Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 # All rights reserved. |
|
5 # This component and the accompanying materials are made available |
|
6 # under the terms of "Eclipse Public License v1.0" |
|
7 # which accompanies this distribution, and is available |
|
8 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 # |
|
10 # Initial Contributors: |
|
11 # Nokia Corporation - initial contribution. |
|
12 # |
|
13 # Contributors: |
|
14 # |
|
15 # Description: |
|
16 # Example build specialization file |
|
17 # |
|
18 # NB currently specialization only applies to ARMV5 build using RVCT. |
|
19 |
|
20 # This file customizes the default ARMV5. It specifies a build that |
|
21 # always uses optimization level O1 rather than the default O2. |
|
22 customizes ARMV5 |
|
23 |
|
24 # The following options that can be overridden by MMP files |
|
25 |
|
26 # Use these options when compiling user-side THUMB code |
|
27 thumb_options -thumb -O1 |
|
28 |
|
29 # Use these options when compiling user-side ARM code |
|
30 arm_options -arm -O1 |
|
31 |
|
32 # Use these options when compiling Kernel code |
|
33 kernel_options -arm -O1 |
|
34 |
|
35 # This just factors out common (contingent) options from the above. |
|
36 # These options can also be overridden by MMP files. |
|
37 common_options --diag_suppress 1,161,654,1135,1152,1300 --diag_error 1267 |
|
38 |
|
39 # Fixed options for this build. These options should only be changed with great care since |
|
40 # they have the potential to introduce incompatible ABI (or machine) level effects. |
|
41 # -cpu 5T - this build just targets a generic 5T |
|
42 # -Ono_known_library - we use our own library so tell the compiler not to make assumptions about its implementation |
|
43 # -fpu softvfp - some system code explicitly assumes this variant of the EABI (softvfp+vfp could be used on say XScale) |
|
44 # --dll_vtbl - this switches on class exporting and is needed to support Symbian OS DLL model |
|
45 # -apcs /inter - redundant on 5T, but worth saying anyway |
|
46 invariant_options -cpu 5T -fy -Ono_known_library -fpu softvfp --dll_vtbl -apcs /inter |