Author: dreimer
Date: Tue Dec 30 09:37:46 2008
New Revision: 38473
URL:
http://svn.reactos.org/svn/reactos?rev=38473&view=rev
Log:
I forgot the new BUILD_MP Parameter. Can be set now, too.
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/Config.ps1
trunk/tools/RosBE/RosBE-Windows/Root/Config.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Config.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/Config.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/Config.ps1 [iso-8859-1] Tue Dec 30 09:37:46
2008
@@ -235,6 +235,17 @@
}
clear-host
+"Whether to compile the multi processor versions for ntoskrnl and hal."
+"Default is: 1"
+""
+$BUILD_MP = $xml.group.property | ? { $_.Name -eq "BUILD_MP" } | % { $_.Value}
+"Right now: $BUILD_MP"
+$BUILD_MP_CH = Read-Host "(0), (1)"
+if ($BUILD_MP_CH -eq $null) {
+ $BUILD_MP_CH = $BUILD_MP
+}
+clear-host
+
#
# Generate a config.rbuild, copy it to the Source Tree and delete temp files.
#
@@ -248,6 +259,7 @@
$xml.group.property | ? { $_.Name -eq "NSWPAT" } | % { $_.Value =
"$NSWPAT_CH"}
$xml.group.property | ? { $_.Name -eq "_WINKD_" } | % { $_.Value =
"$WINKD_CH"}
$xml.group.property | ? { $_.Name -eq "_ELF_" } | % { $_.Value =
"$ELF_CH"}
+$xml.group.property | ? { $_.Name -eq "BUILD_MP" } | % { $_.Value =
"$BUILD_MP_CH"}
$xml.save("$ENV:APPDATA\RosBE\config.rbuild")
copy-item "$ENV:APPDATA\RosBE\config.rbuild" ".\config.rbuild"
@@ -259,6 +271,8 @@
# Unload all used Vars.
#
$YESNO = $null
+$BUILD_MP = $null
+$BUILD_MP_CH = $null
$TUNE = $null
$TUNE_CH = $null
$SARCH_CH = $null
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Config.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Con…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Config.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Config.cmd [iso-8859-1] Tue Dec 30 09:37:46 2008
@@ -249,6 +249,18 @@
)
cls
+echo Whether to compile the multi processor versions for ntoskrnl and hal.
+echo Default is: 1
+echo.
+for /f "usebackq tokens=3" %%i in (`"type
"%APPDATA%\RosBE\config.rbuild" | find "BUILD_MP" | find
"property name""`) do set BUILD_MP=%%i
+set BUILD_MP=%BUILD_MP:~7,-1%
+echo Right now: %BUILD_MP%
+set /p BUILD_MP_CH="(0), (1)"
+if "%BUILD_MP_CH%" == "" (
+ set BUILD_MP_CH=%BUILD_MP%
+)
+cls
+
::
:: Generate a config.rbuild, copy it to the Source Tree and delete temp files.
::
@@ -265,6 +277,7 @@
echo ^<property name="NSWPAT" value="%NSWPAT_CH%"
/^>>>%TEMP%\config.tmp
echo ^<property name="_WINKD_" value="%WINKD_CH%"
/^>>>%TEMP%\config.tmp
echo ^<property name="_ELF_" value="%ELF_CH%"
/^>>>%TEMP%\config.tmp
+echo ^<property name="BUILD_MP" value="%BUILD_MP_CH%"
/^>>>%TEMP%\config.tmp
echo ^</group^>>>%TEMP%\config.tmp
copy "%TEMP%\config.tmp" "%APPDATA%\RosBE\config.rbuild" >NUL
@@ -283,6 +296,8 @@
:: Unload all used Vars.
::
set YESNO=
+set BUILD_MP=
+set BUILD_MP_CH=
set TUNE=
set TUNE_CH=
set SARCH_CH=