mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:15:59 +00:00
Fix the messed up "freeldr_arch" rbuild file: Specify one "freeldr_arch" module and then the files to build based on the architecture, not a separate module per architecture
Patch by Alex svn path=/trunk/; revision=34052
This commit is contained in:
parent
955672158d
commit
f721678f57
1 changed files with 30 additions and 65 deletions
|
@ -1,15 +1,24 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE directory SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<directory name="arch">
|
||||
<directory name="i386">
|
||||
<if property="ARCH" value="i386">
|
||||
<module name="freeldr_arch" type="objectlibrary">
|
||||
<include base="freeldr_base">include</include>
|
||||
<include base="freeldr_base">cache</include>
|
||||
<include base="ntoskrnl">include</include>
|
||||
<define name="_NTHAL_" />
|
||||
<compilerflag>-fno-inline</compilerflag>
|
||||
<compilerflag>-fno-zero-initialized-in-bss</compilerflag>
|
||||
<module name="freeldr_arch" type="objectlibrary">
|
||||
<include base="freeldr_base">include</include>
|
||||
<include base="freeldr_base">cache</include>
|
||||
<include base="ntoskrnl">include</include>
|
||||
<include base="ReactOS">include/reactos/libs</include>
|
||||
<include base="ReactOS">include/reactos/elf</include>
|
||||
<define name="_NTHAL_" />
|
||||
<compilerflag>-fno-inline</compilerflag>
|
||||
<compilerflag>-fno-zero-initialized-in-bss</compilerflag>
|
||||
|
||||
<if property="ARCH" value="arm">
|
||||
<compilerflag>-ffreestanding</compilerflag>
|
||||
<compilerflag>-fno-builtin</compilerflag>
|
||||
<compilerflag>-Os</compilerflag>
|
||||
</if>
|
||||
|
||||
<directory name="arch">
|
||||
<directory name="i386">
|
||||
<if property="ARCH" value="i386">
|
||||
<file>_alloca.S</file>
|
||||
<file>archmach.c</file>
|
||||
<file>hardware.c</file>
|
||||
|
@ -35,23 +44,10 @@
|
|||
<file>xboxmem.c</file>
|
||||
<file>xboxrtc.c</file>
|
||||
<file>xboxvideo.c</file>
|
||||
</module>
|
||||
</if>
|
||||
</directory>
|
||||
<directory name="powerpc">
|
||||
<if property="ARCH" value="powerpc">
|
||||
<module name="freeldr_arch" type="objectlibrary">
|
||||
<include base="freeldr_base">include</include>
|
||||
<include base="freeldr_base">cache</include>
|
||||
<include base="ntoskrnl">include</include>
|
||||
<include base="ReactOS">include/reactos/libs</include>
|
||||
<include base="ReactOS">include/reactos/elf</include>
|
||||
<define name="_NTHAL_" />
|
||||
<compilerflag>-ffreestanding</compilerflag>
|
||||
<compilerflag>-fno-builtin</compilerflag>
|
||||
<compilerflag>-fno-inline</compilerflag>
|
||||
<compilerflag>-fno-zero-initialized-in-bss</compilerflag>
|
||||
<compilerflag>-Os</compilerflag>
|
||||
</if>
|
||||
</directory>
|
||||
<directory name="powerpc">
|
||||
<if property="ARCH" value="powerpc">
|
||||
<file>boot.s</file>
|
||||
<file>loader.c</file>
|
||||
<file>mach.c</file>
|
||||
|
@ -65,47 +61,16 @@
|
|||
<file>prep_ide.c</file>
|
||||
<file>prep_pci.c</file>
|
||||
<file>prep_vga.c</file>
|
||||
</module>
|
||||
</if>
|
||||
</directory>
|
||||
<directory name="mips">
|
||||
<if property="ARCH" value="mips">
|
||||
<module name="freeldr_arch" type="objectlibrary">
|
||||
<include base="freeldr_base">include</include>
|
||||
<include base="freeldr_base">cache</include>
|
||||
<include base="ntoskrnl">include</include>
|
||||
<define name="DEBUG" />
|
||||
<define name="_NTHAL_" />
|
||||
<file>boot.s</file>
|
||||
<file>console.c</file>
|
||||
<file>disk.c</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_" />
|
||||
</if>
|
||||
</directory>
|
||||
<directory name="arm">
|
||||
<if property="ARCH" value="arm">
|
||||
<file>boot.s</file>
|
||||
<file>ferouart.c</file>
|
||||
<file>loader.c</file>
|
||||
<file>macharm.c</file>
|
||||
<file>versuart.c</file>
|
||||
</module>
|
||||
</if>
|
||||
</if>
|
||||
</directory>
|
||||
</directory>
|
||||
</directory>
|
||||
</module>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue