equal
deleted
inserted
replaced
1 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
1 # Copyright (c) 2009-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 "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". |
7 # |
7 # |
8 # Initial Contributors: |
8 # Initial Contributors: |
9 # Nokia Corporation - initial contribution. |
9 # Nokia Corporation - initial contribution. |
11 # Contributors: |
11 # Contributors: |
12 # |
12 # |
13 # Description: |
13 # Description: |
14 # |
14 # |
15 |
15 |
16 ifeq ($($(NAME)_bootstrap_flm),) |
16 ifeq ($($(NAME)_$(PLATFORM_PATH)_bootstrap_flm),) |
17 $(NAME)_bootstrap_flm := 1 |
17 $(NAME)_$(PLATFORM_PATH)_bootstrap_flm := 1 |
18 |
18 |
19 E32PATH := $(EXTENSION_ROOT)/$(E32PATH) |
19 E32PATH := $(EXTENSION_ROOT)/$(E32PATH) |
20 SOURCES := $(foreach S,$(SOURCES),$(addprefix $(EXTENSION_ROOT)/,$(S))) |
20 SOURCES := $(foreach S,$(SOURCES),$(addprefix $(EXTENSION_ROOT)/,$(S))) |
21 INCLUDES2:=$(addprefix $(EXTENSION_ROOT)/,$(INCLUDES)) |
21 INCLUDES2:=$(addprefix $(EXTENSION_ROOT)/,$(INCLUDES)) |
22 EXTRA_INC_PATH := $(foreach S,$(EXTRA_INC_PATH),$(addprefix $(EXTENSION_ROOT)/,$(S))) |
22 EXTRA_INC_PATH := $(foreach S,$(EXTRA_INC_PATH),$(addprefix $(EXTENSION_ROOT)/,$(S))) |
24 |
24 |
25 ifndef LINKBASE |
25 ifndef LINKBASE |
26 LINKBASE := 0x00000000 |
26 LINKBASE := 0x00000000 |
27 endif |
27 endif |
28 |
28 |
29 UNIQ:=$(E32PATH)$(NAME)$(MEMMODEL)$(SOURCES)$(ASM_MACROS) |
29 UNIQ:=$(E32PATH)$(PLATFORM_PATH)$(NAME)$(MEMMODEL)$(SOURCES)$(ASM_MACROS) |
30 UNIQ:=$(word 1,$(shell echo $(UNIQ) | $(GNUMD5SUM))) |
30 UNIQ:=$(word 1,$(shell echo $(UNIQ) | $(GNUMD5SUM))) |
31 |
31 |
32 # Make the output build directory name unique, starting with NAME of the binary being built |
32 # Make the output build directory name unique, starting with NAME of the binary being built |
33 EPOCBLDABS := $(EPOCBLD)/$(NAME)_$(UNIQ) |
33 EPOCBLDABS := $(EPOCBLD)/$(NAME)_$(UNIQ) |
34 |
34 |