- Merge from trunk up to r45543
[reactos.git] / boot / freeldr / freeldr / freeldr_arch.rbuild
index 3eaee52..b4abb4a 100644 (file)
@@ -7,19 +7,6 @@
        <include base="ReactOS">include/reactos/libs</include>
        <include base="ReactOS">include/reactos/elf</include>
        <define name="_NTHAL_" />
-       <group compilerset="gcc">
-               <compilerflag>-fno-inline</compilerflag>
-               <compilerflag>-fno-zero-initialized-in-bss</compilerflag>
-       </group>
-
-       <if property="ARCH" value="arm">
-               <group compilerset="gcc">
-                       <compilerflag>-ffreestanding</compilerflag>
-                       <compilerflag>-fno-builtin</compilerflag>
-                       <compilerflag>-Os</compilerflag>
-               </group>
-       </if>
-
        <directory name="arch">
                <directory name="i386">
                        <if property="ARCH" value="i386">
                <directory name="arm">
                        <if property="ARCH" value="arm">
                                <file first="true">boot.s</file>
-                               <file>ferouart.c</file>
-                               <file>loader.c</file>
                                <file>macharm.c</file>
-                               <file>omapuart.c</file>
-                               <file>versuart.c</file>
                        </if>
                </directory>
 
        </directory>
 
        <directory name="windows">
+       <if property="ARCH" value="arm">
+               <directory name="arm">
+                       <file>wlmemory.c</file>
+               </directory>
+       </if>
                <if property="ARCH" value="i386">
                        <directory name="i386">
                                <file>ntsetup.c</file>
+                               <file>wlmemory.c</file>
+                       </directory>
+               </if>
+               <if property="ARCH" value="amd64">
+                       <directory name="amd64">
+                               <file>ntsetup.c</file>
+                               <file>wlmemory.c</file>
                        </directory>
                </if>
        </directory>