sf_config/rombuild/sf_refhw/image_conf_sf_refhw.mk
author Pierre Cochart <pierre.cochart@cell-telecom.com>
Thu, 16 Sep 2010 16:07:48 +0100
branchRCL_3
changeset 125 488266b7b425
parent 123 86636866cb77
permissions -rw-r--r--
reapply fix for bug9685 as features are now defined here
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
66
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
     1
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
     2
#
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
     3
# Copyright (c) 2010 Symbian Foundation Ltd
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
     4
# This component and the accompanying materials are made available
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
     6
# which accompanies this distribution, and is available
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
     8
#
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
     9
# Initial Contributors:
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    10
# Symbian Foundation Ltd - initial contribution.
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    11
#
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    12
# Contributors:
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    13
#
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    14
# Description:
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    15
#
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    16
#
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    17
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    18
COREPLAT_NAME    = sf
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    19
COREPLAT_VERSION = 3.0.0
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    20
S60_VERSION      = 5.2
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    21
SOS_VERSION      = 9.5
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    22
PLATFORM_NAME    = sf_refhw
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    23
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    24
USE_PAGING     = 0
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    25
USE_ROMFILE    = 0
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    26
USE_SYMGEN     = 0
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    27
USE_UDEB       = 1
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    28
USE_VARIANTBLD = 0
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    29
USE_VERGEN     = 1
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    30
USE_ROFS       = 0
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    31
71
27ee1ccf705b Enhanced IBY include path handling
Gareth Long <garethl@symbian.org>
parents: 66
diff changeset
    32
66
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    33
# CORE
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    34
# imaker -f /epoc32/rom/config/platform/product/image_conf_product.mk core
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    35
#
71
27ee1ccf705b Enhanced IBY include path handling
Gareth Long <garethl@symbian.org>
parents: 66
diff changeset
    36
# added includes here to workaround IBYs including others as 'xxx.iby' when it should have been 'core/mw/xxx.iby' etc.
27ee1ccf705b Enhanced IBY include path handling
Gareth Long <garethl@symbian.org>
parents: 66
diff changeset
    37
27ee1ccf705b Enhanced IBY include path handling
Gareth Long <garethl@symbian.org>
parents: 66
diff changeset
    38
COREPLAT_OPT = $(BLDROM_OPT) -D_EABI=$(ARM_VERSION) \
27ee1ccf705b Enhanced IBY include path handling
Gareth Long <garethl@symbian.org>
parents: 66
diff changeset
    39
  -I$(ITOOL_DIR)/../../rom/include/core/mw -I$(ITOOL_DIR)/../../rom/include/core/app \
66
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    40
  $(if $(PRODUCT_MSTNAME),-D$(call ucase,$(PRODUCT_MSTNAME))) -D$(call ucase,$(PRODUCT_NAME)) $(PRODUCT_OPT)
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    41
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    42
CORE_OBYGEN =\
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    43
  geniby | $(CORE_PREFIX)_core_collected.oby |\
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    44
    $(E32ROMINC)/core/app $(E32ROMINC)/core/mw $(E32ROMINC)/core/os\ $(E32ROMINC)/core/stubs \
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    45
    $(call select,$(TYPE),prd,,$(E32ROMINC)/core/tools) \
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    46
    $(E32ROMINC)/language/* \
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    47
    $(E32ROMINC)/customer/* \
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    48
    $(E32ROMINC)/customervariant/* \
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    49
    | *.iby | \#include "%3" | end
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    50
#
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    51
CORE_OBY = $(CONFIGROOT)/sf_refhw/bigrom.oby $(CORE_PREFIX)_core_collected.oby
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    52
# <variant/patchdata.iby> would be added here too
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    53
123
86636866cb77 New target build, many changes, supports featuremanager
Gareth Long <garethl@symbian.org>
parents: 71
diff changeset
    54
CORE_OPT = $(COREPLAT_OPT) -es60ibymacros -elocalise -DSECTION -fm=\epoc32\rom\include\featuredatabase.xml
66
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    55
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    56
# Workaround to fix Rombuild errors:
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    57
# "ERROR: incorrect format for time keyword..." and "The size of the ROM has not been supplied."
71
27ee1ccf705b Enhanced IBY include path handling
Gareth Long <garethl@symbian.org>
parents: 66
diff changeset
    58
CORE_OPT += --DROMMEGS=F8 --DROMDATE=$(CORE_TIME)
66
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    59
f1f5590fcf6f Bug 3083
Gareth Long <garethl@symbian.org>
parents:
diff changeset
    60