author | Shabe Razvi <shaber@symbian.org> |
Mon, 29 Mar 2010 11:30:58 +0100 | |
branch | RCL_3 |
changeset 16 | 4a76c5fd669b |
permissions | -rw-r--r-- |
16
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
1 |
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
2 |
// All rights reserved. |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
4 |
// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
6 |
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
7 |
// |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
10 |
// |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
11 |
// Contributors: |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
12 |
// |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
13 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
14 |
#ifndef __HEADER_IBY__ |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
15 |
#define __HEADER_IBY__ |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
16 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
17 |
unicode |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
18 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
19 |
romsize=0x##ROMMEGS##00000 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
20 |
time=ROMDATE 12:00:00 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
21 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
22 |
#ifdef CDMA |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
23 |
define CDMA_SUFFIX _cdma |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
24 |
#else |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
25 |
define CDMA_SUFFIX ## // nothing |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
26 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
27 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
28 |
#ifdef _NAND |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
29 |
define NAND_SUFFIX .nand |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
30 |
#else |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
31 |
define NAND_SUFFIX ## // nothing |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
32 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
33 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
34 |
#ifdef _NAND2 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
35 |
define NAND_SUFFIX .nand |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
36 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
37 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
38 |
romname=##VARIANT##_##BUILDNO##LANGID##.##OBEYFILE##CDMA_SUFFIX##NAND_SUFFIX.IMG |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
39 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
40 |
#ifdef _NAND |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
41 |
ECHO Preparing NAND core image with associated ROFS image |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
42 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
43 |
#ifndef _ROFS_SIZE |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
44 |
#define _ROFS_SIZE 32000000 // 32 Meg default |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
45 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
46 |
define ROFS_SIZE _ROFS_SIZE |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
47 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
48 |
compress |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
49 |
rom_image 1 rofs size=ROFS_SIZE non-xip compress |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
50 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
51 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
52 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
53 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
54 |
#ifdef _NAND2 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
55 |
ECHO Preparing NAND core image with associated ROFS image |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
56 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
57 |
#ifndef _ROFS_SIZE |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
58 |
#define _ROFS_SIZE 32000000 // 32 Meg default |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
59 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
60 |
define ROFS_SIZE _ROFS_SIZE |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
61 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
62 |
compress |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
63 |
rom_image 1 rofs size=ROFS_SIZE non-xip compress |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
64 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
65 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
66 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
67 |
REM ROM version number |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
68 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
69 |
version=##VERSION##(##BUILDNO##) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
70 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
71 |
#ifdef _FULL_DEBUG |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
72 |
#ifndef _DEBUG |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
73 |
#define _DEBUG // _FULL_DEBUG implies _DEBUG |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
74 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
75 |
define BUILD_DIR udeb |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
76 |
#else |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
77 |
define BUILD_DIR urel |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
78 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
79 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
80 |
#ifdef _DEBUG |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
81 |
define DEBUG_DIR udeb |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
82 |
#else |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
83 |
define DEBUG_DIR urel |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
84 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
85 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
86 |
ifndef _EABI |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
87 |
ifdef _ARM4 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
88 |
define _EABI ARM4 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
89 |
ECHO Defaulting to ARM4 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
90 |
elif defined(_ARMV5) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
91 |
define _EABI ARMV5 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
92 |
ECHO Defaulting to ARMV5 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
93 |
endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
94 |
endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
95 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
96 |
# ifdef _PLAT |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
97 |
# undef _EABI |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
98 |
# define _EABI _PLAT |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
99 |
# ECHO Defaulting to _EABI |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
100 |
# endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
101 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
102 |
# ifdef _GCCE |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
103 |
# undef _EABI |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
104 |
# define _EABI GCCE |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
105 |
# elif defined(ABIV2) || defined(ABIv2) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
106 |
# undef _EABI |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
107 |
# define _EABI ARMV5_ABIV2 |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
108 |
# endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
109 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
110 |
// This is to include ABIV2 specific runtime libraries. This inclusion |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
111 |
// in other obey files depends on the definition of RVCT |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
112 |
#ifdef _GCCE |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
113 |
# define RVCT |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
114 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
115 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
116 |
define ABI_DIR EPOCROOT##epoc32\release\##_EABI |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
117 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
118 |
#ifndef _KABI |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
119 |
#define _KABI _EABI |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
120 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
121 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
122 |
define KERNEL_DIR EPOCROOT##epoc32\release\##_KABI |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
123 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
124 |
define DATAZ_ EPOCROOT##epoc32\data\Z |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
125 |
define ZSYSTEM DATAZ_\System |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
126 |
define ZPRIVATE DATAZ_\Private |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
127 |
define ZRESOURCE DATAZ_\Resource |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
128 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
129 |
define DATAC_ EPOCROOT##epoc32\data\C |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
130 |
define CSYSTEM DATAC_\System |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
131 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
132 |
// default location of executables |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
133 |
define SYSTEM_BINDIR System\Libs // will be Sys\Bin for Secure platform |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
134 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
135 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
136 |
// Support for ECOM_PLUGIN |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
137 |
// Format is ECOM_PLUGIN(<DLL Name>,<Resource File Name>) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
138 |
// e.g. ECOM_PLUGIN(foo.dll,12345abc.rsc) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
139 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
140 |
define ECOM_RSC_DIR Resource\Plugins |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
141 |
define ECOM_BIN_DIR Sys\Bin |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
142 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
143 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
144 |
// __ECOM_PLUGIN(emulator directory, file rom dir, dataz_, resource rom dir, filename, resource filename) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
145 |
#define ECOM_PLUGIN(file,resource) __ECOM_PLUGIN(ABI_DIR\BUILD_DIR,ECOM_BIN_DIR,DATAZ_,ECOM_RSC_DIR,file,file) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
146 |
#define ECOM_PLUGIN_UDEB(file,resource) __ECOM_PLUGIN(ABI_DIR\UDEB,ECOM_BIN_DIR,DATAZ_,ECOM_RSC_DIR,file,file) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
147 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
148 |
// Support for HIDE_ECOM_PLUGIN |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
149 |
// Format is HIDE_ECOM_PLUGIN(<DLL Name>,<Resource File Name>) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
150 |
// e.g. HIDE_ECOM_PLUGIN(foo.dll,12345abc.rsc) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
151 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
152 |
// _HIDE__ECOM_PLUGIN(emulator directory, file rom dir, dataz_, resource rom dir, filename, resource filename) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
153 |
#define HIDE_ECOM_PLUGIN(file,resource) _HIDE__ECOM_PLUGIN(ABI_DIR\BUILD_DIR,ECOM_BIN_DIR,DATAZ_,ECOM_RSC_DIR,file,file) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
154 |
#define HIDE_ECOM_PLUGIN_UDEB(file,resource) _HIDE__ECOM_PLUGIN(ABI_DIR\UDEB,ECOM_BIN_DIR,DATAZ_,ECOM_RSC_DIR,file,file) |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
155 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
156 |
#ifdef SYMBIAN_ROM_STATIC_PLUGIN_INFORMATION |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
157 |
enable_spi |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
158 |
#else |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
159 |
disable_spi |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
160 |
#endif |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
161 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
162 |
// Secure platform setting - use PlatSec.oby to turn diagnostics on |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
163 |
PlatSecDiagnostics OFF |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
164 |
PlatSecEnforcement ON |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
165 |
PlatSecEnforceSysBin ON |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
166 |
PlatSecProcessIsolation ON |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
167 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
168 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
169 |
//#include "feature.iby" |
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
170 |
|
4a76c5fd669b
Add Syborg and Zoom2 ROM configuration files into new components.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
171 |
#endif |