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.

svn path=/trunk/; revision=38270
This commit is contained in:
Timo Kreuzer 2008-12-22 15:23:08 +00:00
parent c8d9e123b7
commit 1f9c4940d2
3 changed files with 11 additions and 2 deletions

View file

@ -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" />

View file

@ -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>

View file

@ -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>