Author: tkreuzer
Date: Mon Dec 22 09:23:08 2008
New Revision: 38270
URL:
http://svn.reactos.org/svn/reactos?rev=38270&view=rev
Log:
Introduce new config flag BUILD_MP. Compile MP kernel and hal only when this is set to 1
to save us some time and space.
Modified:
trunk/reactos/ReactOS-generic.rbuild
trunk/reactos/config.template.rbuild
trunk/reactos/hal/hal.rbuild
Modified: trunk/reactos/ReactOS-generic.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS-generic.rbuild?rev…
==============================================================================
--- trunk/reactos/ReactOS-generic.rbuild [iso-8859-1] (original)
+++ trunk/reactos/ReactOS-generic.rbuild [iso-8859-1] Mon Dec 22 09:23:08 2008
@@ -110,7 +110,9 @@
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
- <xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
+ <if property="BUILD_MP" value="1">
+ <xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
+ </if>
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
Modified: trunk/reactos/config.template.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/config.template.rbuild?rev…
==============================================================================
--- trunk/reactos/config.template.rbuild [iso-8859-1] (original)
+++ trunk/reactos/config.template.rbuild [iso-8859-1] Mon Dec 22 09:23:08 2008
@@ -85,4 +85,9 @@
-->
<property name="_ELF_" value="0" />
+<!--
+ Whether to compile the multi processor versions for ntoskrnl and hal.
+-->
+<property name="BUILD_MP" value="0" />
+
</group>
Modified: trunk/reactos/hal/hal.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/hal.rbuild?rev=38270&a…
==============================================================================
--- trunk/reactos/hal/hal.rbuild [iso-8859-1] (original)
+++ trunk/reactos/hal/hal.rbuild [iso-8859-1] Mon Dec 22 09:23:08 2008
@@ -10,7 +10,9 @@
<xi:include href="halx86/hal_generic_up.rbuild" />
<xi:include href="halx86/hal_generic_pc.rbuild" />
<xi:include href="halx86/halup.rbuild" />
- <xi:include href="halx86/halmp.rbuild" />
+ <if property="BUILD_MP" value="1">
+ <xi:include href="halx86/halmp.rbuild" />
+ </if>
<xi:include href="halx86/halxbox.rbuild" />
</directory>
</if>