author | timothy.murphy@nokia.com |
Sat, 01 May 2010 05:41:25 +0100 | |
branch | fix |
changeset 536 | 49d91f1e52a3 |
parent 368 | 113d720d5a6c |
permissions | -rw-r--r-- |
3 | 1 |
# |
234 | 2 |
# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 | 3 |
# All rights reserved. |
4 |
# This component and the accompanying materials are made available |
|
5 |
# under the terms of the License "Eclipse Public License v1.0" |
|
6 |
# which accompanies this distribution, and is available |
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
# |
|
9 |
# Initial Contributors: |
|
10 |
# Nokia Corporation - initial contribution. |
|
11 |
# |
|
12 |
# Contributors: |
|
13 |
# |
|
14 |
# Description: |
|
15 |
# e32abiv2defaults.flm |
|
16 |
# ARMv5 EXE/DLL ABIv2 Function Like Makefile (FLM) |
|
17 |
# |
|
18 |
||
19 |
# This is for variables that are not set in an FLM call but |
|
20 |
# only in e32abiv2 flms. |
|
21 |
||
22 |
AUTOEXPORTS:= |
|
23 |
CANHAVEEXPORTS:= |
|
24 |
CANIGNORENONCALLABLE:= |
|
25 |
DOPOSTLINK:= |
|
26 |
IMPORTLIBRARYREQUIRED:= |
|
27 |
LINKER_ENTRYPOINT_LIBDEP:= |
|
28 |
LINKER_ENTRYPOINT_SETTING:= |
|
29 |
LINKER_STUB_LIBRARY:= |
|
30 |
NAMEDSYMLKUP:= |
|
31 |
POSTLINKDEFFILE:= |
|
32 |
POSTLINKFILETYPE:= |
|
33 |
POSTLINKTARGETTYPE:= |
|
368
113d720d5a6c
Added test case for EPOCNESTEDEXCEPTIONS.
Stefan Karlsson <stefan.karlsson@nokia.com>
parents:
367
diff
changeset
|
34 |
STATIC_RUNTIME_LIB:= |
3 | 35 |
SUPPORT_FREEZE:= |
36 |
NOHIDEALL:= |
|
37 |
DEFAULT_NEWLIB:=$(DEFAULT_SYMBIAN_NEWLIB) |
|
38 |
||
39 |
||
40 |
# Reset these variables as they change for every single target type |
|
41 |
# LINKER_ENTRYPOINT_ADORNMENT will be blank for GCCE; for RVCT it will look like "(uc_exe_.o)" |
|
42 |
# LINKER_ENTRYPOINT_DECORATION will be blank for RVCT; for GCCE it will look like "-u _E32Startup" |
|
22 | 43 |
# LINKER_SEPARATOR is a comma for GCCE as g++ is used for linking; for RVCT is should be a space, but |
44 |
# as make strips trailing spaces, we use the CHAR_SPACE variable. |
|
3 | 45 |
|
46 |
LINKER_ENTRYPOINT_ADORNMENT:= |
|
47 |
LINKER_ENTRYPOINT_DECORATION:= |
|
22 | 48 |
LINKER_SEPARATOR:= |
3 | 49 |
|
50 |
# For GCCE |
|
51 |
ifeq ($(TOOLCHAIN),GCCE) |
|
22 | 52 |
LINKER_ENTRYPOINT_DECORATION:=$(if $(call isoneof,$(TARGETTYPE),exexp exe),-Wl$(CHAR_COMMA)-u$(CHAR_COMMA)_E32Startup,-Wl$(CHAR_COMMA)-u$(CHAR_COMMA)_E32Dll) |
53 |
LINKER_SEPARATOR:=$(CHAR_COMMA) |
|
3 | 54 |
endif |
55 |
||
56 |
# For RVCT |
|
57 |
ifeq ($(TOOLCHAIN),RVCT) |
|
58 |
ifeq ($(call isoneof,$(TARGETTYPE),exe stdexe),1) # isoneof returns 1 if true, empty string if false |
|
59 |
LINKER_ENTRYPOINT_ADORNMENT:=(uc_exe_.o) |
|
60 |
endif |
|
61 |
||
234 | 62 |
ifeq ($(call isoneof,$(TARGETTYPE),ani textnotifier2 stddll plugin plugin3 fsy pdl dll pdll),1) |
3 | 63 |
LINKER_ENTRYPOINT_ADORNMENT:=(uc_dll_.o) |
64 |
endif |
|
65 |
||
66 |
ifeq ($(call isoneof,$(TARGETTYPE),var var2),1) |
|
67 |
LINKER_ENTRYPOINT_ADORNMENT:=(v_entry_.o) |
|
68 |
endif |
|
69 |
||
70 |
ifeq ($(call isoneof,$(TARGETTYPE),ldd pdd),1) |
|
71 |
LINKER_ENTRYPOINT_ADORNMENT:=(D_ENTRY_.o) |
|
72 |
endif |
|
73 |
||
74 |
ifeq ($(TARGETTYPE),kext) |
|
75 |
LINKER_ENTRYPOINT_ADORNMENT:=(X_ENTRY_.o) |
|
76 |
endif |
|
77 |
||
78 |
ifeq ($(TARGETTYPE),kdll) |
|
79 |
LINKER_ENTRYPOINT_ADORNMENT:=(L_ENTRY_.o) |
|
80 |
endif |
|
22 | 81 |
LINKER_SEPARATOR:=$(CHAR_SPACE) |
3 | 82 |
endif |
83 |
||
84 |
# "OPTION" metadata from the front-end can potentially be supplied simultaneously for both GCCE and RVCT, |
|
85 |
# so we need to make a decision on what we make use of based on the TOOLCHAIN in use. |
|
86 |
# Currently we only support changes to RVCT tool calls. |
|
87 |
||
88 |
LINKEROPTION:= |
|
89 |
OPTION_COMPILER:= |
|
90 |
OPTION_REPLACE_COMPILER:= |
|
91 |
||
92 |
ifeq ($(TOOLCHAIN),RVCT) |
|
93 |
LINKEROPTION:=$(LINKEROPTION_ARMCC) |
|
94 |
OPTION_COMPILER:=$(OPTION_ARMCC) |
|
95 |
OPTION_REPLACE_COMPILER:=$(OPTION_REPLACE_ARMCC) |
|
96 |
endif |
|
9 | 97 |
|
98 |
# "ARMFPU" overrides for 'fpu-ness' in compiler and postlinker calls in .mmp files are currently only |
|
99 |
# supported for RVCT-based builds, GCCE builds always make use of the interface defined defaults. |
|
100 |
ifeq ($(TOOLCHAIN),GCCE) |
|
101 |
ARMFPU:= |
|
102 |
endif |