mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
create rbuild files and strip everything from build, except freeldr.
svn path=/branches/ros-amd64-bringup/; revision=34701
This commit is contained in:
@@ -0,0 +1,134 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
|
||||
<project name="ReactOS" makefile="makefile.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<xi:include href="config-amd64.rbuild">
|
||||
<xi:fallback>
|
||||
<xi:include href="config-amd64.template.rbuild" />
|
||||
</xi:fallback>
|
||||
</xi:include>
|
||||
|
||||
<define name="_M_AMD64" />
|
||||
<define name="_AMD64_" />
|
||||
<define name="_M_AXP64" />
|
||||
<define name="__x86_64__" />
|
||||
<define name="_X86AMD64_" />
|
||||
<define name="_WIN64" />
|
||||
|
||||
<property name="PLATFORM" value="PC"/>
|
||||
<property name="usewrc" value="false"/>
|
||||
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
|
||||
<property name="NTOSKRNL_SHARED" value="-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles -shared"/>
|
||||
<linkerflag>-enable-stdcall-fixup</linkerflag>
|
||||
|
||||
<if property="OPTIMIZE" value="1">
|
||||
<compilerflag>-Os</compilerflag>
|
||||
<compilerflag>-ftracer</compilerflag>
|
||||
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
|
||||
</if>
|
||||
<if property="OPTIMIZE" value="2">
|
||||
<compilerflag>-Os</compilerflag>
|
||||
</if>
|
||||
<if property="OPTIMIZE" value="3">
|
||||
<compilerflag>-O1</compilerflag>
|
||||
</if>
|
||||
<if property="OPTIMIZE" value="4">
|
||||
<compilerflag>-O2</compilerflag>
|
||||
</if>
|
||||
<if property="OPTIMIZE" value="5">
|
||||
<compilerflag>-O3</compilerflag>
|
||||
</if>
|
||||
|
||||
<compilerflag>-mpreferred-stack-boundary=4</compilerflag>
|
||||
<compilerflag>-fno-strict-aliasing</compilerflag>
|
||||
<compilerflag>-Wno-strict-aliasing</compilerflag>
|
||||
<compilerflag>-Wpointer-arith</compilerflag>
|
||||
<compilerflag>-Wno-uninitialized</compilerflag>
|
||||
<linkerflag>-enable-stdcall-fixup</linkerflag>
|
||||
<linkerflag>-s</linkerflag>
|
||||
<linkerflag>-static</linkerflag>
|
||||
|
||||
<!-- Here starts <xi:include href="ReactOS-generic.rbuild" /> -->
|
||||
|
||||
<xi:include href="baseaddress.rbuild" />
|
||||
|
||||
<define name="__REACTOS__" />
|
||||
<if property="DBG" value="1">
|
||||
<define name="DBG">1</define>
|
||||
<define name="_SEH_ENABLE_TRACE" />
|
||||
<property name="DBG_OR_KDBG" value="true" />
|
||||
</if>
|
||||
<if property="KDBG" value="1">
|
||||
<define name="KDBG">1</define>
|
||||
<property name="DBG_OR_KDBG" value="true" />
|
||||
</if>
|
||||
|
||||
<include>.</include>
|
||||
<include>include</include>
|
||||
<include root="intermediate">include</include>
|
||||
<include>include/psdk</include>
|
||||
<include root="intermediate">include/psdk</include>
|
||||
<include>include/dxsdk</include>
|
||||
<include root="intermediate">include/dxsdk</include>
|
||||
<include>include/crt</include>
|
||||
<include>include/crt/mingw32</include>
|
||||
<include>include/ddk</include>
|
||||
<include>include/GL</include>
|
||||
<include>include/ndk</include>
|
||||
<include>include/reactos</include>
|
||||
<include root="intermediate">include/reactos</include>
|
||||
<include root="intermediate">include/reactos/mc</include>
|
||||
<include>include/reactos/libs</include>
|
||||
|
||||
<!-- directory name="base">
|
||||
<xi:include href="base/base.rbuild" />
|
||||
</directory -->
|
||||
|
||||
<directory name="boot">
|
||||
<xi:include href="boot/boot.rbuild" />
|
||||
</directory>
|
||||
|
||||
<!-- directory name="dll">
|
||||
<xi:include href="dll/dll.rbuild" />
|
||||
</directory -->
|
||||
<!--
|
||||
<directory name="drivers">
|
||||
<directory name="base">
|
||||
<directory name="bootvid">
|
||||
<xi:include href="drivers/base/bootvid/bootvid.rbuild" />
|
||||
</directory>
|
||||
<directory name="kdcom">
|
||||
<xi:include href="drivers/base/kdcom/kdcom.rbuild" />
|
||||
</directory>
|
||||
</directory>
|
||||
</directory>
|
||||
|
||||
<directory name="hal">
|
||||
<xi:include href="hal/hal.rbuild" />
|
||||
</directory>
|
||||
-->
|
||||
<directory name="include">
|
||||
<xi:include href="include/directory.rbuild" />
|
||||
</directory>
|
||||
<directory name="lib">
|
||||
<xi:include href="lib/lib.rbuild" />
|
||||
</directory>
|
||||
|
||||
<!-- directory name="media">
|
||||
<xi:include href="media/media.rbuild" />
|
||||
</directory -->
|
||||
|
||||
<directory name="ntoskrnl">
|
||||
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
|
||||
</directory>
|
||||
|
||||
<!-- directory name="subsystems">
|
||||
<xi:include href="subsystems/subsystems.rbuild" />
|
||||
</directory -->
|
||||
|
||||
<directory name="tools">
|
||||
<xi:include href="tools/tools.rbuild" />
|
||||
</directory>
|
||||
|
||||
<!-- Here ends <xi:include href="ReactOS-generic.rbuild" /> -->
|
||||
|
||||
</project>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE group SYSTEM "tools/rbuild/project.dtd">
|
||||
<group>
|
||||
|
||||
<!--
|
||||
This file is a template used as a starting point for compile-time
|
||||
configuration of ReactOS. Make a copy of this file and name it config.rbuild.
|
||||
Then change the options in config.rbuild. If you don't have a config.rbuild file,
|
||||
then the defaults in this file, config.template.rbuild, will be used instead.
|
||||
|
||||
Boolean options can obtain the values 0 (disabled) or 1 (enabled). String
|
||||
options can obtain any value specified in the comment before it.
|
||||
-->
|
||||
|
||||
|
||||
<!--
|
||||
Sub-architecture to build for. Specify one of:
|
||||
-->
|
||||
<property name="SARCH" value="" />
|
||||
|
||||
|
||||
<!--
|
||||
Which CPU ReactOS should be optimized for. Specify one of:
|
||||
k8 opteron athlon64 athlon-fx
|
||||
|
||||
See GCC manual for more CPU names and which CPUs GCC can optimize for.
|
||||
-->
|
||||
<property name="OARCH" value="athlon64" />
|
||||
|
||||
|
||||
<!--
|
||||
What level of optimisation to use.
|
||||
0 = off (will not work)
|
||||
1 = Default option, optimize for size (-Os) with some additional options
|
||||
2 = -Os
|
||||
3 = -O1
|
||||
4 = -O2
|
||||
5 = -O3
|
||||
-->
|
||||
<property name="OPTIMIZE" value="3" />
|
||||
|
||||
|
||||
<!--
|
||||
Whether to compile in the integrated kernel debugger.
|
||||
-->
|
||||
<property name="KDBG" value="1" />
|
||||
|
||||
|
||||
<!--
|
||||
Whether to compile for debugging. No compiler optimizations will be
|
||||
performed.
|
||||
-->
|
||||
<property name="DBG" value="1" />
|
||||
|
||||
|
||||
<!--
|
||||
Whether to compile for debugging with GDB. If you don't use GDB, don't
|
||||
enable this.
|
||||
-->
|
||||
<property name="GDB" value="0" />
|
||||
|
||||
|
||||
<!--
|
||||
Whether to compile apps/libs with features covered software patents or not.
|
||||
If you live in a country where software patents are valid/apply, don't
|
||||
enable this (except they/you purchased a license from the patent owner).
|
||||
This settings is disabled (0) by default.
|
||||
-->
|
||||
<property name="NSWPAT" value="1" />
|
||||
|
||||
<!--
|
||||
Whether to compile with the KD protocol. This will disable support for KDBG
|
||||
as well as rossym and symbol lookups, and allow WinDBG to connect to ReactOS.
|
||||
This is currently not fully working, and requires kdcom from Windows 2003 or
|
||||
TinyKRNL. Booting into debug mode with this flag enabled will result in a
|
||||
failure to enter GUI mode. Do not enable unless you know what you're doing.
|
||||
-->
|
||||
<property name="_WINKD_" value="0" />
|
||||
|
||||
</group>
|
||||
@@ -2,6 +2,6 @@
|
||||
<!DOCTYPE module SYSTEM "../tools/rbuild/project.dtd">
|
||||
<group xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<module name="ntoskrnl" type="kernel" installbase="system32" installname="ntoskrnl.exe">
|
||||
<xi:include href="ntoskrnl-generic.rbuild" />
|
||||
<!-- xi:include href="ntoskrnl-generic.rbuild" / -->
|
||||
</module>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user