diff --git a/reactos/boot/freeldr/freeldr/arch/i386/archmach.c b/reactos/boot/freeldr/freeldr/arch/i386/archmach.c
index 2400029a00c..be3982bdafc 100644
--- a/reactos/boot/freeldr/freeldr/arch/i386/archmach.c
+++ b/reactos/boot/freeldr/freeldr/arch/i386/archmach.c
@@ -32,7 +32,9 @@ MachInit(const char *CmdLine)
PciId = READ_PORT_ULONG((ULONG*) 0xcfc);
if (0x02a510de == PciId)
{
+#ifdef XBOX
XboxMachInit(CmdLine);
+#endif
}
else
{
diff --git a/reactos/boot/freeldr/freeldr/comm/rs232.c b/reactos/boot/freeldr/freeldr/comm/rs232.c
index 364bc0d6b1e..34a2abbac3c 100644
--- a/reactos/boot/freeldr/freeldr/comm/rs232.c
+++ b/reactos/boot/freeldr/freeldr/comm/rs232.c
@@ -23,6 +23,8 @@
/* MACROS *******************************************************************/
+#ifndef DEBUG
+
#define DEFAULT_BAUD_RATE 19200
#define SER_RBR(x) ((x)+0)
@@ -272,3 +274,5 @@ VOID Rs232PortPutByte(UCHAR ByteToSend)
WRITE_PORT_UCHAR (SER_THR(Rs232PortBase), ByteToSend);
}
+
+#endif
diff --git a/reactos/boot/freeldr/freeldr/freeldr_base.xml b/reactos/boot/freeldr/freeldr/freeldr_base.xml
index ab8277bce4d..4abcd6691d4 100644
--- a/reactos/boot/freeldr/freeldr/freeldr_base.xml
+++ b/reactos/boot/freeldr/freeldr/freeldr_base.xml
@@ -22,20 +22,22 @@
i386rtl.c
i386vid.c
machpc.c
- machxbox.c
pccons.c
pcdisk.c
pcmem.c
pcrtc.c
pcvideo.c
portio.c
- xboxcons.c
- xboxdisk.c
- xboxfont.c
- xboxhw.c
- xboxmem.c
- xboxrtc.c
- xboxvideo.c
+
+ machxbox.c
+ xboxcons.c
+ xboxdisk.c
+ xboxfont.c
+ xboxhw.c
+ xboxmem.c
+ xboxrtc.c
+ xboxvideo.c
+
diff --git a/reactos/config.template.xml b/reactos/config.template.xml
index d2031dbf0fb..340f3e9bda9 100644
--- a/reactos/config.template.xml
+++ b/reactos/config.template.xml
@@ -15,6 +15,12 @@
-->
+
+
+