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