Author: dreimer
Date: Mon Nov 17 14:35:59 2008
New Revision: 37421
URL:
http://svn.reactos.org/svn/reactos?rev=37421&view=rev
Log:
OH my.... the ELF problem was MY!!!! Fault...
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] Mon Nov 17 14:35:59
2008
@@ -211,6 +211,18 @@
}
cls
+"Whether to compile support for ELF files. Do not enable unless you know what"
+"you're doing."
+"Default is: 0"
+""
+$ELF = $xml.group.property | ? { $_.Name -eq "_ELF_" } | % { $_.Value}
+"Right now: $ELF"
+$ELF_CH = Read-Host "(0), (1)"
+if ($ELF_CH -eq $null) {
+ $ELF_CH = $ELF
+}
+cls
+
#
# Generate a config.rbuild, copy it to the Source Tree and delete temp files.
#
@@ -222,6 +234,7 @@
$xml.group.property | ? { $_.Name -eq "GDB" } | % { $_.Value =
"$GDB_CH"}
$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.save("$ENV:APPDATA\RosBE\config.rbuild")
copy "$ENV:APPDATA\RosBE\config.rbuild" ".\config.rbuild"
@@ -241,6 +254,7 @@
$GDB_CH = $null
$NSWPAT_CH = $null
$WINKD_CH = $null
+$ELF_CH = $null
$SARCH = $null
$OARCH = $null
$OPTIMIZE = $null
@@ -249,6 +263,7 @@
$GDB = $null
$NSWPAT = $null
$WINKD = $null
+$ELF = $null
$XML = $null
settitle
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] Mon Nov 17 14:35:59 2008
@@ -226,6 +226,19 @@
)
cls
+echo Whether to compile support for ELF files. Do not enable unless you know what
+echo you're doing.
+echo Default is: 0
+echo.
+for /f "usebackq tokens=3" %%i in (`"type
"%APPDATA%\RosBE\config.rbuild" | find "_ELF_" | find "property
name""`) do set ELF=%%i
+set ELF=%ELF:~7,-1%
+echo Right now: %ELF%
+set /p ELF_CH="(0), (1)"
+if "%ELF_CH%" == "" (
+ set ELF_CH=%ELF%
+)
+cls
+
::
:: Generate a config.rbuild, copy it to the Source Tree and delete temp files.
::
@@ -240,6 +253,7 @@
echo ^<property name="GDB" value="%GDB_CH%"
/^>>>%TEMP%\config.tmp
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 ^</group^>>>%TEMP%\config.tmp
copy "%TEMP%\config.tmp" "%APPDATA%\RosBE\config.rbuild" >NUL
@@ -266,6 +280,7 @@
set GDB_CH=
set NSWPAT_CH=
set WINKD_CH=
+set ELF_CH=
set SARCH=
set OARCH=
set OPTIMIZE=
@@ -274,3 +289,4 @@
set GDB=
set NSWPAT=
set WINKD=
+set ELF=