equal
deleted
inserted
replaced
1 # Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 # Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 # All rights reserved. |
2 # All rights reserved. |
3 # This component and the accompanying materials are made available |
3 # This component and the accompanying materials are made available |
4 # under the terms of the License "Eclipse Public License v1.0" |
4 # under the terms of the License "Eclipse Public License v1.0" |
5 # which accompanies this distribution, and is available |
5 # which accompanies this distribution, and is available |
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
50 endif |
50 endif |
51 |
51 |
52 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/$(FIRSTLIB) |
52 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/$(FIRSTLIB) |
53 |
53 |
54 ifeq ("$(TOOLCHAIN)","RVCT") |
54 ifeq ("$(TOOLCHAIN)","RVCT") |
55 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Startup $(call dblquote,$(STATIC_RUNTIME_DIR)/$(FIRSTLIB)($(FIRSTLIB_OBJECTFILE))) |
55 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRYPOINT_PREFIX)$(ENTRYPOINT) $(call dblquote,$(STATIC_RUNTIME_DIR)/$(FIRSTLIB)($(FIRSTLIB_OBJECTFILE))) |
56 else |
56 else |
57 # GCCE |
57 # GCC |
58 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Startup -Wl,-u$(LINKER_SEPARATOR)_E32Startup$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/$(FIRSTLIB)) |
58 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRYPOINT_PREFIX)$(ENTRYPOINT) -Wl,-u$(LINKER_SEPARATOR)$(LINKER_ENTRYPOINT_PREFIX)$(ENTRYPOINT)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/$(FIRSTLIB)) |
59 endif |
59 endif |
60 |
|
61 ifeq ("$(NEED_ENTRYPOINT_LIBRARY)","True") |
|
62 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRYPOINT_SETTING) $(LINKER_ENTRYPOINT_LIBDEP) |
|
63 endif |
|
64 |
|
65 |
60 |
66 POSTLINKDEFFILE:=$(DEFFILE) |
61 POSTLINKDEFFILE:=$(DEFFILE) |
67 SUPPORT_FREEZE:=1 |
62 SUPPORT_FREEZE:=1 |
68 ifeq ($(NOEXPORTLIBRARY),) |
63 ifeq ($(NOEXPORTLIBRARY),) |
69 IMPORTLIBRARYREQUIRED:=1 |
64 IMPORTLIBRARYREQUIRED:=1 |