sbs_init.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <build xmlns="http://symbian.com/xml/build"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symbian.com/xml/build build/2_0.xsd">
  5. <!--
  6. To change the defaults for Raptor, edit and copy this file
  7. to $SBS_HOME
  8. This will be used unless there is a file called $HOME/.sbs_init.xml
  9. (note the "." before the "s") which will be used instead.
  10. Read on to the next <var> to see other things you can do with this file.
  11. -->
  12. <var name="defaults.init">
  13. <!-- environment variables used in this configuration -->
  14. <env name="EPOCROOT" default="/" type="path"/>
  15. <!-- default parameter settings -->
  16. <!-- Make command parameter file -->
  17. <set name="makeEngine" value="make"/>
  18. <!-- Location of the highest level makefile -->
  19. <set name="topMakefile" value="$(EPOCROOT)/epoc32/build/Makefile"/>
  20. <!-- Name of the build logging file -->
  21. <set name="logFileName" value="$(EPOCROOT)/epoc32/build/Makefile.%TIME.log"/>
  22. <!-- Default build configuration name -->
  23. <set name="defaultConfig" value="default"/>
  24. <!-- Names of standard build files -->
  25. <set name="buildInformation" value="bld.inf"/>
  26. <set name="systemDefinition" value="System_Definition.xml"/>
  27. <!-- Standard directories -->
  28. <set name="systemConfig" value="lib/config"/>
  29. <set name="systemFLM" value="lib/flm"/>
  30. <set name="systemPlugins" value="python/plugins"/>
  31. <set name="systemDefinitionBase" value="."/>
  32. <!-- Do not print any information messages? -->
  33. <set name="quiet" value="false"/>
  34. <!-- How many jobs to run in parallel? (for make -j) -->
  35. <set name="jobs" value="4"/>
  36. <!-- How many attempts to run a job before recording an error?
  37. This is useful for builds that can have transient failures. -->
  38. <set name="tries" value="1"/>
  39. <!-- Carry on trying to build even if some commands fail? -->
  40. <set name="keepGoing" value="false"/>
  41. <!-- Do we use a bld.inf or System_Definition.xml if both are in the CWD -->
  42. <set name="preferBuildInfoToSystemDefinition" value="false"/>
  43. <!-- Always use ignore OS detection? -->
  44. <set name="ignoreOsDetection" value="false"/>
  45. <!-- Always use a specific list of filters -->
  46. <set name="filterList" value="FilterTerminal,FilterLogfile"/>
  47. </var>
  48. <!--
  49. Other variants can be defined and used on the command line. The "bob"
  50. variant below adds a macro called "BOB" to a configuration. Use it by
  51. typing the command:
  52. sbs -c armv5.bob -c winscw.bob
  53. -->
  54. <var name="bob">
  55. <append name="CDEFS" value="BOB"/>
  56. </var>
  57. <!--
  58. Aliases are used to give shorter names to strings of variants. Internally
  59. things like armv5_urel are defined as aliases, so the following are the
  60. same build:
  61. sbs -c armv5_urel
  62. sbs -c arm.v5.urel.rvct2_2
  63. This means that you can re-define an alias to use a different compiler, for
  64. example. The following aliases change the compiler used for armv5 and armv7
  65. builds to be RVCT 4.0
  66. -->
  67. <alias name="armv5_urel" meaning="arm.v5.urel.rvct4_0"/>
  68. <alias name="armv5_udeb" meaning="arm.v5.udeb.rvct4_0"/>
  69. <alias name="armv7_urel" meaning="arm.v7.urel.rvct4_0"/>
  70. <alias name="armv7_udeb" meaning="arm.v7.udeb.rvct4_0"/>
  71. <!--
  72. Groups allow a single -c option to expand into a set of build configurations
  73. that are all done at the same time. Internally armv5 is a group of
  74. armv5_urel and armv5_udeb. You can define your own groups and groups of
  75. groups. The example below is a group which builds production and test code
  76. for armv5 at the same time. Use it by typing the command:
  77. sbs -c armv5_all
  78. instead of:
  79. sbs -c armv5_urel -c armv5_udeb -c armv5_urel.test -c armv5_udeb.test
  80. -->
  81. <group name="armv5_all">
  82. <groupRef ref="armv5"/>
  83. <groupRef ref="armv5" mod="test"/>
  84. </group>
  85. </build>