2 <!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
3 <project name="ReactOS" makefile="makefile.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
4 <xi:include href="config-arm.rbuild">
6 <xi:include href="config-arm.template.rbuild" />
10 <xi:include href="ReactOS-generic.rbuild" />
12 <define name="_ARM_" />
13 <define name="__arm__" />
15 <include>include/reactos/arm</include>
17 <property name="WINEBUILD_FLAGS" value="--kill-at"/>
18 <property name="NTOSKRNL_SHARED" value="-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles -shared"/>
20 <if property="SARCH" value="versatile">
21 <define name="BOARD_CONFIG_VERSATILE"/>
24 <if property="OPTIMIZE" value="1">
25 <compilerflag>-Os</compilerflag>
26 <compilerflag>-ftracer</compilerflag>
28 <if property="OPTIMIZE" value="2">
29 <compilerflag>-Os</compilerflag>
31 <if property="OPTIMIZE" value="3">
32 <compilerflag>-O1</compilerflag>
34 <if property="OPTIMIZE" value="4">
35 <compilerflag>-O2</compilerflag>
37 <if property="OPTIMIZE" value="5">
38 <compilerflag>-O3</compilerflag>
41 <compilerflag>-Wno-attributes</compilerflag>
42 <compilerflag>-fno-strict-aliasing</compilerflag>
43 <linkerflag>-s</linkerflag>
44 <linkerflag>-lgcc</linkerflag>
45 <linkerflag>-static</linkerflag>