Better organize FreeLDR ARM files -- there are no more stubs now. We have the ReactOS...
[reactos.git] / reactos / boot / freeldr / freeldr / freeldr_arch.rbuild
index 6f55745..3823cbf 100644 (file)
@@ -1,3 +1,5 @@
+<?xml version="1.0"?>
+<!DOCTYPE directory SYSTEM "../../../tools/rbuild/project.dtd">
 <directory name="arch">
        <directory name="i386">
                <if property="ARCH" value="i386">
@@ -5,13 +7,9 @@
                                <include base="freeldr_base">include</include>
                                <include base="freeldr_base">cache</include>
                                <include base="ntoskrnl">include</include>
-                               <define name="__USE_W32API" />
                                <define name="_NTHAL_" />
-                               <compilerflag>-ffreestanding</compilerflag>
-                               <compilerflag>-fno-builtin</compilerflag>
                                <compilerflag>-fno-inline</compilerflag>
                                <compilerflag>-fno-zero-initialized-in-bss</compilerflag>
-                               <compilerflag>-Os</compilerflag>
                                <file>_alloca.S</file>
                                <file>archmach.c</file>
                                <file>hardware.c</file>
@@ -28,7 +26,6 @@
                                <file>pcmem.c</file>
                                <file>pcrtc.c</file>
                                <file>pcvideo.c</file>
-                               <file>portio.c</file>
                                <file>machxbox.c</file>
                                <file>xboxcons.c</file>
                                <file>xboxdisk.c</file>
@@ -49,7 +46,6 @@
                                <include base="ntoskrnl">include</include>
                                <include base="ReactOS">include/reactos/libs</include>
                                <include base="ReactOS">include/reactos/elf</include>
-                               <define name="__USE_W32API" />
                                <define name="_NTHAL_" />
                                <compilerflag>-ffreestanding</compilerflag>
                                <compilerflag>-fno-builtin</compilerflag>
                                <compilerflag>-fno-zero-initialized-in-bss</compilerflag>
                                <compilerflag>-Os</compilerflag>
                                <file>boot.s</file>
+                               <file>loader.c</file>
                                <file>mach.c</file>
                                <file>mboot.c</file>
+                               <file>ofw.c</file>
+                               <file>ofw_util.s</file>
+                               <file>ofw_calls.s</file>
+                               <file>ofwdisk.c</file>
+                               <file>ofw_method.c</file>
+                               <file>prep.c</file>
+                               <file>prep_ide.c</file>
+                               <file>prep_pci.c</file>
+                               <file>prep_vga.c</file>
                        </module>
                </if>
        </directory>
@@ -68,7 +74,6 @@
                                <include base="freeldr_base">include</include>
                                <include base="freeldr_base">cache</include>
                                <include base="ntoskrnl">include</include>
-                               <define name="__USE_W32API" />
                                <define name="DEBUG" />
                                <define name="_NTHAL_" />
                                <file>boot.s</file>
                                <file>hardware.c</file>
                                <file>loader.c</file>
                                <file>mach.c</file>
+                               <file>portio.c</file>
                                <file>video.c</file>
                        </module>
                </if>
        </directory>
+       <directory name="arm">
+               <if property="ARCH" value="arm">
+                       <module name="freeldr_arch" type="objectlibrary">
+                               <include base="freeldr_base">include</include>
+                               <include base="freeldr_base">cache</include>
+                               <include base="ntoskrnl">include</include>
+                               <compilerflag>-ffreestanding</compilerflag>
+                               <compilerflag>-fno-builtin</compilerflag>
+                               <compilerflag>-fno-inline</compilerflag>
+                               <compilerflag>-fno-zero-initialized-in-bss</compilerflag>
+                               <compilerflag>-Os</compilerflag>
+                               <define name="DEBUG" />
+                               <define name="_NTHAL_" />
+                               <file>boot.s</file>
+                               <file>ferouart.c</file>
+                               <file>loader.c</file>
+                               <file>macharm.c</file>
+                               <file>versuart.c</file>
+                       </module>
+               </if>
+       </directory>
 </directory>