sbsv2/raptor/lib/config/arm.xml
changeset 0 044383f39525
child 3 e1eecf4d390d
child 590 360bd6b35136
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 <?xml version="1.0" encoding="ISO-8859-1"?>
       
     2 <build xmlns="http://symbian.com/xml/build" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symbian.com/xml/build ../../schema/build/2_0.xsd">
       
     3 	<!-- build configurations for ARM compilers -->
       
     4 	<var name="arm" extends="root">
       
     5 		<varRef ref="default.interfaces"/>
       
     6 		<varRef ref="default.locations"/>
       
     7 		<env name="EFREEZE" default="$(PERL) $(EPOCROOT)/epoc32/tools/efreeze.pl" type="tool"/>
       
     8 		<!-- picked up from the Environment -->
       
     9 		<env name="ELF2E32" default="$(EPOCROOT)/epoc32/tools/elf2e32$(DOTEXE)" type="tool"/>
       
    10 		<env name="BMCONV" default="$(EPOCROOT)/epoc32/tools/bmconv$(DOTEXE)" type="tool"/>
       
    11 		<env name="CHECKLIB" default="$(EPOCROOT)/epoc32/tools/checklib$(DOTEXE)" type="tool"/>
       
    12 		<env name="TRANASM" default="$(PERL) $(EPOCROOT)/epoc32/tools/tranasm.pl" type="tool"/>
       
    13 		<env name="CPPFILT" default="$(GCCPREFIX)c++filt$(DOTEXE)" type="tool"/>
       
    14 		<env name="RCOMP" default="$(EPOCROOT)/epoc32/tools/rcomp$(DOTEXE)" type="tool"/>
       
    15 		<env name="PREPDEF" default="$(PERL) $(EPOCROOT)/epoc32/tools/prepdef.pl" type="path"/>
       
    16 		<env name="STRINGTABLE" default="$(PERL) $(EPOCROOT)/epoc32/tools/stringtable.pl" type="path"/>
       
    17 		<!-- RANSLEEP is a program that can be used to cause a random delay in milliseconds. This is only useful in parallel builds.  See the PERTURBSTARTTIME switch for more details.  -->
       
    18 		<env name="RANSLEEP" default="$(SBS_HOME)/bin/$(HOSTPLATFORM_DIR)/ransleep$(DOTEXE)" type="tool"/>
       
    19 		<set name="BLDINF_OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
       
    20 		<set name="CDEFS" value=""/>	
       
    21 		<!-- arm specific interfaces -->
       
    22 		<set name="INTERFACE.extension" value="Symbian.extension"/>
       
    23 		<!-- link to bld.inf and mmp platform names -->
       
    24 		<set name="ARMMACROS" value="__MARM_ARMV5__ $(ARMMACROS.CONFIG) $(ARMMACROS.VAR)"/>
       
    25 		<set name="ARMMACROS.CONFIG" value=""/>
       
    26 		<set name="ARMMACROS.VAR" value=""/>
       
    27 		<set name="CAPABILITY" value=""/>
       
    28 		<set name="CODE_SEGMENT_START" value=""/>
       
    29 		<set name="DEFAULT_STDCPP_NEWLIB" value="stdnew.dso"/>
       
    30 		<set name="DEFAULT_SYMBIAN_NEWLIB" value="scppnwdl.dso"/>
       
    31 		<set name="FULLVARIANTPATH" value="$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
       
    32 		<set name="HEADER_FILES_CONTROL_OPTION" value=""/>
       
    33 		<set name="LIBRARY_DEBUG" value=""/>
       
    34 		<set name="MMPDEFS" value=""/>
       
    35 		<set name="NMAKE" value="nmake"/>
       
    36 		<set name="NMAKEFLAGS" value="-nologo -x - "/>
       
    37 		<set name="OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
       
    38 		<set name="PERTURBSTARTTIME" value=""/>
       
    39 		<!-- add a random delay before starting armcc or armlink to ease contention for licensesthe maximum time to delay in milliseconds. RANSLEEP program must be available.   -->
       
    40 		<set name="PERTURBMSECS" value="500"/>
       
    41 		<!-- the maximum time to delay in milliseconds -->
       
    42 		<set name="BLDINF_OUTPUTPATH" value="$(SBS_BUILD_DIR)"/>
       
    43 		<set name="RELEASEPATH" value="$(EPOCROOT)/epoc32/release"/>
       
    44 		<set name="RESOLVED_DEFFILE" value=""/>
       
    45 		<set name="RUNTIME_LIBS_PATH" value="$(EPOCROOT)/epoc32/release/armv5/lib"/>
       
    46 		<set name="SBSV1MAKE" value="$(EPOCROOT)/epoc32/tools/make$(DOTEXE)"/>
       
    47 		<set name="SID" value=""/>
       
    48 		<set name="EPOCSTACKSIZE" value=""/>
       
    49 		<set name="STATIC_LIBRARY_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
       
    50 		<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/$(VARIANTPLATFORM)/$(VARIANTTYPE)"/>
       
    51 		<set name="SYMBIAN_CC_MESSAGE_OPTION" value="$(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION)"/>
       
    52 		<set name="SYMBIAN_DLL_DEFINITION" value="__DLL__"/>
       
    53 		<set name="SYMBIAN_EXE_DEFINITION" value="__EXE__"/>
       
    54 		<set name="SYMBIAN_LINK_FLAGS" value="$(SYMBIAN_LD_MESSAGE_OPTION) $(BPABI_OPTION) $(RELOCATABLE_IMAGE_OPTION) $(UNRESOLVED_SYMBOL_REF_OPTION) $(STDLIB_OPTION) $(EXTRA_LD_OPTION) $(SYMBIAN_LINK_FLAGS.CONFIG) $(SYMBIAN_LINK_FLAGS.VAR)"/>
       
    55 		<set name="SYMBIAN_LINK_FLAGS.CONFIG" value=""/>
       
    56 		<set name="SYMBIAN_LINK_FLAGS.VAR" value=""/>
       
    57 		<set name="SYSTEMINCLUDE" value=""/>
       
    58 		<set name="TARGET" value=""/>
       
    59 		<set name="UNIX_SLASH_FOR_CC_ABS_PATHS" value="0"/>
       
    60 		<set name="UNRESOLVED_SYMBOL_REF_OPTION" value=""/>
       
    61 		<set name="DUMPBCINFO" value=""/>
       
    62 		<set name="MAKEDEFFILE" value="1"/>
       
    63 		<set name="PLATMACROS.WINDOWS" value="ARMCC EPOC32 MARM EABI GENERIC_MARM MARM_ARMV5 $(PLATMACROS.CONFIG) $(PLATMACROS.VAR)"/>
       
    64 		<set name="PLATMACROS.LINUX" value="$(PLATMACROS.WINDOWS)"/>
       
    65 		<set name="PLATMACROS.CONFIG" value=""/>
       
    66 		<set name="PLATMACROS.VAR" value=""/>
       
    67 		<set name="NO_UNALIGNED_ACCESS" value="$(CC.NO_UNALIGNED_ACCESS)"/>
       
    68 	</var>
       
    69 	<var name="v5">
       
    70 		<set name="TRADITIONAL_PLATFORM" value="ARMV5"/>
       
    71 		<set name="VARIANTPLATFORM" value="armv5"/>
       
    72 		<set name="PLATMACROS.CONFIG" value=""/>
       
    73 		<set name="DEBUG_FORMAT" value="$(CC.DWARF2)"/>
       
    74 		<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV5)"/>
       
    75 		<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV5)"/>
       
    76 		<set name="ARMFPU" value="$(CC.SOFTVFP_MAYBE_VFPV2)"/>
       
    77 		<set name="GENERATE_ABIV1_IMPLIBS" value="$(SUPPORTS_ABIV1_IMPLIBS)"/>
       
    78 	</var>
       
    79 	<var name="v6">
       
    80 		<set name="TRADITIONAL_PLATFORM" value="ARMV6"/>
       
    81 		<set name="VARIANTPLATFORM" value="armv6"/>
       
    82 		<set name="PLATMACROS.CONFIG" value="ARMV6"/>
       
    83 		<set name="ARMMACROS.CONFIG" value="__ARMV6__"/>
       
    84 		<set name="DEBUG_FORMAT" value="$(CC.DWARF2)"/>
       
    85 		<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV6)"/>
       
    86 		<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV6)"/>
       
    87 		<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/>
       
    88 		<set name="ARMFPU" value="$(CC.SOFTVFP_MAYBE_VFPV2)"/>
       
    89 	</var>
       
    90 	<var name="v7">
       
    91 		<set name="TRADITIONAL_PLATFORM" value="ARMV7"/>
       
    92 		<set name="VARIANTPLATFORM" value="armv7"/>
       
    93 		<set name="PLATMACROS.CONFIG" value="ARMV7"/>
       
    94 		<set name="ARMMACROS.CONFIG" value="__ARMV7__"/>
       
    95 		<set name="DEBUG_FORMAT" value="$(CC.DWARF3)"/>
       
    96 		<set name="TARGET_ARCH_OPTION" value="$(CC.ARMV7)"/>
       
    97 		<set name="LINKER_ARCH_OPTION" value="$(LD.ARMV7)"/>
       
    98 		<set name="ARMFPU" value="$(CC.SOFTVFP_MAYBE_VFPV3)"/>
       
    99 	</var>
       
   100 	<var name="9e" extends="v5">
       
   101 		<set name="VARIANTPLATFORM" value="arm9e"/>
       
   102 		<set name="PLATMACROS.CONFIG" value="ARM9E"/>
       
   103 		<set name="ARMMACROS.CONFIG" value="__ARM9E__"/>
       
   104 		<set name="TARGET_ARCH_OPTION" value="--cpu ARM9E"/>
       
   105 		<set name="STATIC_RUNTIME_DIR" value="$(EPOCROOT)/epoc32/release/armv5/$(VARIANTTYPE)"/>
       
   106 	</var>
       
   107 
       
   108 	<alias name="armv5_urel" meaning="arm.v5.urel.rvct2_2"/>
       
   109 	<alias name="armv5_udeb" meaning="arm.v5.udeb.rvct2_2"/>
       
   110 	<!-- To switch to GCCE for building armv5 code, 
       
   111 	comment out the two lines above this comment
       
   112 	and comment in the two lines below this comment -->
       
   113 	<!-- <alias name="armv5_urel" meaning="arm.v5.urel.gcce4_3_2"/> -->
       
   114 	<!-- <alias name="armv5_udeb" meaning="arm.v5.udeb.gcce4_3_2"/> -->
       
   115 
       
   116 	<!-- These aliases are provided to work with the "gcce_armv5" group -->
       
   117 	<alias name="armv5_urel_gcce4_3_2" meaning="arm.v5.urel.gcce4_3_2"/>
       
   118 	<alias name="armv5_udeb_gcce4_3_2" meaning="arm.v5.udeb.gcce4_3_2"/>
       
   119 
       
   120 	<!-- GCCE 4.3.3 aliases -->
       
   121 	<alias name="armv5_urel_gcce4_3_3" meaning="arm.v5.urel.gcce4_3_3"/>
       
   122 	<alias name="armv5_udeb_gcce4_3_3" meaning="arm.v5.udeb.gcce4_3_3"/>
       
   123 	
       
   124 	<alias name="armv6_urel" meaning="arm.v6.urel.rvct2_2"/>
       
   125 	<alias name="armv6_udeb" meaning="arm.v6.udeb.rvct2_2"/>
       
   126 	<alias name="armv7_urel" meaning="arm.v7.urel.rvct3_1"/>
       
   127 	<alias name="armv7_udeb" meaning="arm.v7.udeb.rvct3_1"/>
       
   128 
       
   129 	<alias name="arm9e_urel" meaning="arm.9e.urel.rvct2_2"/>
       
   130 	<alias name="arm9e_udeb" meaning="arm.9e.udeb.rvct2_2"/>
       
   131 
       
   132 	<group name="armv5">
       
   133 		<aliasRef ref="armv5_urel"/>
       
   134 		<aliasRef ref="armv5_udeb"/>
       
   135 	</group>
       
   136 
       
   137 	<group name="armv6">
       
   138 		<aliasRef ref="armv6_urel"/>
       
   139 		<aliasRef ref="armv6_udeb"/>
       
   140 	</group>
       
   141 	<group name="armv7">
       
   142 		<aliasRef ref="armv7_urel"/>
       
   143 		<aliasRef ref="armv7_udeb"/>
       
   144 	</group>
       
   145 
       
   146 	<group name="arm9e">
       
   147 		<aliasRef ref="arm9e_urel"/>
       
   148 		<aliasRef ref="arm9e_udeb"/>
       
   149 	</group>
       
   150 	
       
   151 	<group name="gcce_armv5">
       
   152 		<aliasRef ref="armv5_urel_gcce4_3_2"/>
       
   153 		<aliasRef ref="armv5_udeb_gcce4_3_2"/>
       
   154 	</group>
       
   155 	
       
   156 </build>