3
|
1 |
# romfile.mk
|
|
2 |
#
|
|
3 |
# Copyright (c) 2008 : Symbian Software Limited. All rights reserved.
|
|
4 |
#
|
|
5 |
# define macros that are needed by romfile creation
|
|
6 |
|
|
7 |
define DoRomSet
|
|
8 |
|
|
9 |
ifeq ($(call uppercase,$(TARGETTYPE)),LIB)
|
|
10 |
BUILDROMTARGET:=
|
|
11 |
endif
|
|
12 |
|
|
13 |
ifeq ($(call uppercase,$(TARGETTYPE)),KEXT)
|
|
14 |
ROMFILETYPE:=extension[MAGIC]
|
|
15 |
ABIDIR:=KMAIN
|
|
16 |
endif
|
|
17 |
ifeq ($(call uppercase,$(TARGETTYPE)),LDD)
|
|
18 |
ROMFILETYPE:=device[MAGIC]
|
|
19 |
ABIDIR:=KMAIN
|
|
20 |
endif
|
|
21 |
ifeq ($(call uppercase,$(TARGETTYPE)),PDD)
|
|
22 |
ROMFILETYPE:=device[MAGIC]
|
|
23 |
ABIDIR:=KMAIN
|
|
24 |
endif
|
|
25 |
ifeq ($(call uppercase,$(TARGETTYPE)),VAR)
|
|
26 |
ROMFILETYPE:=variant[MAGIC]
|
|
27 |
ABIDIR:=KMAIN
|
|
28 |
endif
|
|
29 |
ifeq ($(call uppercase,$(TARGETTYPE)),KDLL)
|
|
30 |
ABIDIR:=KMAIN
|
|
31 |
endif
|
|
32 |
|
|
33 |
ifneq ($(CALLDLLENTRYPOINTS),)
|
|
34 |
ROMFILETYPE:=dll
|
|
35 |
endif
|
|
36 |
ifeq ($(ROMFILETYPE),primary)
|
|
37 |
ABIDIR:=KMAIN
|
|
38 |
endif
|
|
39 |
|
|
40 |
endef
|
|
41 |
|
|
42 |
|