sbsv1/abld/doc/armv5_cpu_spec_example.bsf
author jjkang
Fri, 25 Jun 2010 19:56:45 +0800
changeset 604 b33dd54aaa52
parent 599 fa7a3cc6effd
permissions -rw-r--r--
add cpptoolsplat
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     1
#<bsf>#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     2
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     3
# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     4
# All rights reserved.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     5
# This component and the accompanying materials are made available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     6
# under the terms of "Eclipse Public License v1.0"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     7
# which accompanies this distribution, and is available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     8
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     9
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    10
# Initial Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    11
# Nokia Corporation - initial contribution.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    12
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    13
# Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    14
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    15
# Description:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    16
# Example build specialization file 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    17
# 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    18
# NB currently specialization only applies to ARMV5 build using RVCT.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    19
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    20
# This file customizes the default ARMV5. It specifies a build that
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    21
# always uses optimization level O1 rather than the default O2.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    22
customizes ARMV5
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    23
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    24
# The following options that can be overridden by MMP files
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    25
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    26
# Use these options when compiling user-side THUMB code
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    27
thumb_options	-thumb -O1 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
# Use these options when compiling user-side ARM code
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
arm_options	-arm -O1 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
# Use these options when compiling Kernel code
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
kernel_options	-arm -O1 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
# This just factors out common (contingent) options from the above.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
# These options can also be overridden by MMP files.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
common_options	--diag_suppress 1,161,654,1135,1152,1300 --diag_error 1267
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39
# Fixed options for this build. These options should only be changed with great care since
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    40
# they have the potential to introduce incompatible ABI (or machine) level effects.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    41
# -cpu 5T - this build just targets a generic 5T
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    42
# -Ono_known_library - we use our own library so tell the compiler not to make assumptions about its implementation
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    43
# -fpu softvfp - some system code explicitly assumes this variant of the EABI (softvfp+vfp could be used on say XScale)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    44
# --dll_vtbl - this switches on class exporting and is needed to support Symbian OS DLL model
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    45
# -apcs /inter - redundant on 5T, but worth saying anyway
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    46
invariant_options	-cpu 5T -fy -Ono_known_library -fpu softvfp --dll_vtbl -apcs /inter