* Bring back rbuild build to be used until bug 6372 is fixed.
[reactos.git] / boot / freeldr / freeldr / freeldr.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
3
4 <if property="ARCH" value="powerpc">
5 <module name="ofwldr" type="elfexecutable" buildtype="OFWLDR">
6 <library>freeldr_startup</library>
7 <library>freeldr_base64k</library>
8 <library>freeldr_base</library>
9 <library>freeldr_arch</library>
10 <library>freeldr_main</library>
11 <library>rossym</library>
12 <library>cmlib</library>
13 <library>rtl</library>
14 <library>libcntpr</library>
15 <library>ppcmmu</library>
16 </module>
17 </if>
18
19 <if property="ARCH" value="arm">
20 <module name="freeldr" type="kernel" entrypoint="_start" baseaddress="$(BASEADDRESS_FREELDR)">
21 <linkerscript>freeldr_$(ARCH).lnk</linkerscript>
22 <bootstrap installbase="loader" />
23 <library>freeldr_startup</library>
24 <library>freeldr_base64k</library>
25 <library>freeldr_base</library>
26 <library>freeldr_arch</library>
27 <library>freeldr_main</library>
28 <library>rossym</library>
29 <library>cmlib</library>
30 <library>rtl</library>
31 <library>libcntpr</library>
32 </module>
33 </if>
34
35 <ifnot property="ARCH" value="powerpc">
36 <module name="freeldr" type="bootloader" baseaddress="$(BASEADDRESS_FREELDR)">
37 <linkerscript>freeldr_$(ARCH).lnk</linkerscript>
38 <bootstrap installbase="loader" />
39 <library>freeldr_startup</library>
40 <library>freeldr_base64k</library>
41 <library>freeldr_base</library>
42 <if property="ARCH" value="i386">
43 <library>mini_hal</library>
44 </if>
45 <library>freeldr_arch</library>
46 <library>freeldr_main</library>
47 <library>rossym</library>
48 <library>cmlib</library>
49 <library>rtl</library>
50 <library>libcntpr</library>
51 <library>cportlib</library>
52 <group linkerset="ld">
53 <linkerflag>-static</linkerflag>
54 <linkerflag>-lgcc</linkerflag>
55 </group>
56 </module>
57 </ifnot>