Merge freeldr from amd64 branch:
[reactos.git] / reactos / config.template.rbuild
index 415bed7..799fecd 100644 (file)
 <?xml version="1.0"?>
-<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
+<!DOCTYPE group SYSTEM "tools/rbuild/project.dtd">
+<group>
 
 <!--
-  This file is a template used as a starting point for compile-time
-  configuration of ReactOS. Make a copy of this file and name it config.rbuild.
-  Then change the options in config.rbuild. If you don't have a config.rbuild file,
-  then the defaults in this file, config.template.rbuild, will be used instead.
+       This file is a template used as a starting point for compile-time
+       configuration of ReactOS. Make a copy of this file and name it config.rbuild.
+       Then change the options in config.rbuild. If you don't have a config.rbuild file,
+       then the defaults in this file, config.template.rbuild, will be used instead.
 
-  Boolean options can obtain the values 0 (disabled) or 1 (enabled). String
-  options can obtain any value specified in the comment before it.
+       Boolean options can obtain the values 0 (disabled) or 1 (enabled). String
+       options can obtain any value specified in the comment before it.
 -->
 
 
 <!--
-  Architecture to build for. Specify one of:
-    i386
--->
-<property name="ARCH" value="i386" />
-
-<!--
-  Sub-architecture to build for. Specify one of:
-    xbox
+       Sub-architecture to build for. Specify one of:
+               xbox
 -->
 <property name="SARCH" value="" />
 
 
 <!--
-  Which CPU ReactOS should be optimized for. Specify one of:
-    i486, i586, pentium, pentium2, pentium3, pentium4, athlon-xp, athlon-mp,
-    k6-2
+       Generate instructions for this CPU type. Specify one of:
+               native, i386, i486, pentium, pentium-mmx, pentiumpro, i686,
+               pentium2, pentium3, pentium-m, pentium4, prescott, nocona,
+               core2, k6, k6-2, athlon, athlon-xp, opteron, opteron-sse3,
+               barcelona, winchip-c6, winchip2, c3, c3-2, geode
 
-  See GCC manual for more CPU names and which CPUs GCC can optimize for.
+       See GCC manual for more CPU names.
 -->
-<property name="OARCH" value="i486" />
+<property name="OARCH" value="pentium" />
 
 
 <!--
-  OPTIMIZE what level do you want ReactOS to be optimized at 
-  this setting does not work if GDB is set
-    0 = off
-    1 = Normal compiling recommended, is default setting in official build and debug build
-   
-    warning : 2,3,4,5  is not tested on ReactOS. Change at own risk. 
-
-    2 = gcc -Oz with -mpreferred-stack-boundary=2
-    3 = gcc -O1 with -mpreferred-stack-boundary=2
-    4 = gcc -O2 with -mpreferred-stack-boundary=2
-    5 = gcc -O3 with -mpreferred-stack-boundary=2
+       Which CPU ReactOS should be optimized for. Specify one of the above
+       CPUs or generic. When this option is not used, GCC will optimize for
+       the processor specified by OARCH.
 -->
-<property name="OPTIMIZE" value="1" />
+<property name="TUNE" value="i686" />
 
 
 <!--
-  Whether to compile for an uniprocessor or multiprocessor machine.
+       What level of optimisation to use.
+               0 = off (will not work)
+               1 = Default option, optimize for size (-Os) with some additional options
+               2 = -Os
+               3 = -O1
+               4 = -O2
+               5 = -O3
 -->
-<property name="MP" value="0" />
+<property name="OPTIMIZE" value="1" />
 
 
 <!--
-  Whether to compile in the integrated kernel debugger.
+       Whether to compile in the integrated kernel debugger.
 -->
-<property name="KDBG" value="0" />
+<property name="KDBG" value="1" />
 
 
 <!--
-  Whether to compile for debugging. No compiler optimizations will be
-  performed.
+       Whether to compile for debugging. No compiler optimizations will be
+       performed.
 -->
 <property name="DBG" value="1" />
 
 
 <!--
-  Whether to compile for debugging with GDB. If you don't use GDB, don't
-  enable this.
+       Whether to compile for debugging with GDB. If you don't use GDB, don't
+       enable this.
 -->
 <property name="GDB" value="0" />
 
 
 <!--
-  Whether to compile apps/libs with features covered software patents or not.
-  If you live in a country where software patents are valid/apply, don't
-  enable this (except they/you purchased a license from the patent owner).
-  This settings is disabled (0) by default.
+       Whether to compile apps/libs with features covered software patents or not.
+       If you live in a country where software patents are valid/apply, don't
+       enable this (except they/you purchased a license from the patent owner).
+       This settings is disabled (0) by default.
 -->
 <property name="NSWPAT" value="0" />
 
 <!--
-  Whether to compile with NT-compatible LPC Semantics. This should always be 1.
+       Whether to compile with the KD protocol. This will disable support for KDBG
+       as well as rossym and symbol lookups, and allow WinDBG to connect to ReactOS.
+       This is currently not fully working, and requires kdcom from Windows 2003 or
+       TinyKRNL. Booting into debug mode with this flag enabled will result in a
+       failure to enter GUI mode. Do not enable unless you know what you're doing.
 -->
-<property name="NTLPC" value="1" />
+<property name="_WINKD_" value="0" />
 
 <!--
-  Whether to compile with the KD protocol. This will disable support for KDBG
-  as well as rossym and symbol lookups, and allow WinDBG to connect to ReactOS.
-  This is currently not fully working, and requires kdcom from Windows 2003 or
-  TinyKRNL. Booting into debug mode with this flag enabled will result in a
-  failure to enter GUI mode. Do not enable unless you know what you're doing.
+       Whether to compile support for ELF files. Do not enable unless you know what
+       you're doing.
 -->
-<property name="_WINKD_" value="0" />
+<property name="_ELF_" value="0" />
+
+<!--
+       Whether to compile the multi processor versions for ntoskrnl and hal.
+-->
+<property name="BUILD_MP" value="1" />
 
-</rbuild>
+</group>