# HG changeset patch # User your_name # Date 1266411518 0 # Node ID 3d05ccc51d1a7dc841f97a6c88e54fb068ba52a8 # Parent b719d614d65227bd5f30e6f4d460362fc46129ef fix: SF Bug 1511-[Raptor] ARM LDD builds can wrongly make use of implicit .def files diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2ani.flm --- a/sbsv2/raptor/lib/flm/e32abiv2ani.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2ani.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -39,6 +39,15 @@ STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) CANIGNORENONCALLABLE:=1 +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif + UID2:=10003b22 diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2fsy.flm --- a/sbsv2/raptor/lib/flm/e32abiv2fsy.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2fsy.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -36,6 +36,15 @@ LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif + UID2:=100039df STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) CANIGNORENONCALLABLE:=1 diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2ldd.flm --- a/sbsv2/raptor/lib/flm/e32abiv2ldd.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2ldd.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -46,6 +46,15 @@ # No dedicated library for operator new/delete functions. HAS_DEDICATED_OP_NEWDEL_LIB:= +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif + BASELIBS:=edev UID2:=100000af diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2pdd.flm --- a/sbsv2/raptor/lib/flm/e32abiv2pdd.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2pdd.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -45,6 +45,14 @@ # No dedicated library for operator new/delete functions. HAS_DEDICATED_OP_NEWDEL_LIB:= +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif BASELIBS:=edev UID2:=100039d0 diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2pdl.flm --- a/sbsv2/raptor/lib/flm/e32abiv2pdl.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2pdl.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -38,6 +38,15 @@ STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) CANIGNORENONCALLABLE:=1 +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif + BASELIBS:= UID2:=10003b1c RESOURCEPATH:=Resource\Printers diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2plugin.flm --- a/sbsv2/raptor/lib/flm/e32abiv2plugin.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2plugin.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -19,16 +19,6 @@ ifeq ($(TARGETTYPE),plugin) include $(FLMHOME)/e32abiv2defaults.mk -# This is basically a DLL with some tweaks -# If DEFFILE keyword is specified in the MMP, set the POSTLINKDEFFILE -# and guarantee the generation of import library; if not specified import library -# won't be generated for plugin (default) -ifneq ($(DEFFILEKEYWORD),) -POSTLINKDEFFILE:=$(DEFFILE) -SUPPORT_FREEZE:=1 -IMPORTLIBRARYREQUIRED:=1 -endif - # Default Linker settings for this target type LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/edll.lib LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Dll $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/edll.lib$(LINKER_ENTRYPOINT_ADORNMENT)) @@ -48,6 +38,15 @@ AUTOEXPORTS:=_Z24ImplementationGroupProxyRi,1; CANIGNORENONCALLABLE:=1 +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif + # We could check the UID rather than forcing it # but there seems to be no point in that. UID2:=10009D8D diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2textnotifier2.flm --- a/sbsv2/raptor/lib/flm/e32abiv2textnotifier2.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2textnotifier2.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -38,6 +38,15 @@ STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) CANIGNORENONCALLABLE:=1 +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif + RESOURCEPATH:=System/Notifiers UID2:=101fe38b POSTLINKDEFFILE:=$(DEFFILE) diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2var.flm --- a/sbsv2/raptor/lib/flm/e32abiv2var.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2var.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -19,14 +19,6 @@ ifeq ($(TARGETTYPE),var) include $(FLMHOME)/e32abiv2defaults.mk -# What we need to build a DLL -# May need a dso e.g. ecust.dll -ifeq ($(NOEXPORTLIBRARY),) -IMPORTLIBRARYREQUIRED:=1 -endif -POSTLINKDEFFILE:=$(DEFFILE) -SUPPORT_FREEZE:=1 - # Determine what kind of entrypoint option to set LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/evar.lib LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Dll $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/evar.lib$(LINKER_ENTRYPOINT_ADORNMENT)) @@ -55,7 +47,14 @@ # No exception support for kernel code? EXCEPTIONS:=$(NO_EXCEPTIONS) - +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif # We are appending to CDEFS but we don't want this to affect # other invocations so we are going to save it on a stack diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2var2.flm --- a/sbsv2/raptor/lib/flm/e32abiv2var2.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2var2.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -19,14 +19,6 @@ ifeq ($(TARGETTYPE),var2) include $(FLMHOME)/e32abiv2defaults.mk -# What we need to build a DLL -# May need a dso e.g. ecust.dll -ifeq ($(NOEXPORTLIBRARY),) -IMPORTLIBRARYREQUIRED:=1 -endif -POSTLINKDEFFILE:=$(DEFFILE) -SUPPORT_FREEZE:=1 - # Determine what kind of entrypoint option to set LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/evar.lib LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Dll $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/evar.lib$(LINKER_ENTRYPOINT_ADORNMENT)) @@ -55,7 +47,14 @@ # No exception support for kernel code? EXCEPTIONS:=$(NO_EXCEPTIONS) - +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif # We are appending to CDEFS but we don't want this to affect # other invocations so we are going to save it on a stack