[ros-diffs] [dreimer] 27116: First commit in the Direction of a Config.rbuild editor. Right now only a bunch of commands, without any real sense, but getting them made my head almost explode, so I want to have them secure.

dreimer at svn.reactos.org dreimer at svn.reactos.org
Sun Jun 10 16:08:16 CEST 2007


Author: dreimer
Date: Sun Jun 10 18:08:15 2007
New Revision: 27116

URL: http://svn.reactos.org/svn/reactos?rev=27116&view=rev
Log:
First commit in the Direction of a Config.rbuild editor. Right now only a bunch of commands, without any real sense, but getting them made my head almost explode, so I want to have them secure.

Added:
    trunk/tools/RosBE-Windows/Root/Config.cmd
    trunk/tools/RosBE-Windows/Root/config.rbuild
Modified:
    trunk/tools/RosBE-Windows/Root/Help.cmd
    trunk/tools/RosBE-Windows/Root/README.txt
    trunk/tools/RosBE-Windows/Root/RosBE.mac

Added: trunk/tools/RosBE-Windows/Root/Config.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Config.cmd?rev=27116&view=auto
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Config.cmd (added)
+++ trunk/tools/RosBE-Windows/Root/Config.cmd Sun Jun 10 18:08:15 2007
@@ -1,0 +1,20 @@
+sed "s/\"SARCH\" value=\"\"/\"SARCH\" value=\%1"\"/g;s/\"SARCH\" value=\"xbox\"/\"SARCH\" value=\"%1\"/g" config.rbuild > config2.rbuild
+sed "s/\"OPTIMIZE\" value=\"[0-5]\"/\"OPTIMIZE\" value=\"%1\"/g" config.rbuild > config2.rbuild
+sed "s/\"MP\" value=\"[0-1]\"/\"MP\" value=\"%1\"/g" config.rbuild > config2.rbuild
+sed "s/\"KDBG\" value=\"[0-1]\"/\"KDBG\" value=\"%1\"/g" config.rbuild > config2.rbuild
+sed "s/\"DBG\" value=\"[0-1]\"/\"DBG\" value=\"%1\"/g" config.rbuild > config2.rbuild
+sed "s/\"GDB\" value=\"[0-1]\"/\"GDB\" value=\"%1\"/g" config.rbuild > config2.rbuild
+sed "s/\"NSWPAT\" value=\"[0-1]\"/\"NSWPAT\" value=\"%1\"/g" config.rbuild > config2.rbuild
+sed "s/\"NTLPC\" value=\"[0-1]\"/\"NTLPC\" value=\"%1\"/g" config.rbuild > config2.rbuild
+sed "s/\"_WINKD_\" value=\"[0-1]\"/\"_WINKD_\" value=\"%1\"/g" config.rbuild > config2.rbuild
+
+grep SARCH config.rbuild|cut -d "\"" -f 4
+grep OARCH config.rbuild|cut -d "\"" -f 4
+grep OPTIMIZE config.rbuild|cut -d "\"" -f 4
+grep MP config.rbuild|cut -d "\"" -f 4
+grep KDBG config.rbuild|cut -d "\"" -f 4
+grep DBG config.rbuild|cut -d "\"" -f 4
+grep GDB config.rbuild|cut -d "\"" -f 4
+grep NSWPAT config.rbuild|cut -d "\"" -f 4
+grep NTLPC config.rbuild|cut -d "\"" -f 4
+grep _WINKD_ config.rbuild|cut -d "\"" -f 4

Modified: trunk/tools/RosBE-Windows/Root/Help.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?rev=27116&r1=27115&r2=27116&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Help.cmd Sun Jun 10 18:08:15 2007
@@ -21,6 +21,8 @@
     echo                      specific command.
     echo    svn [OPTIONS]   - Create, Update or clean up your ReactOS Source
     echo                      tree.
+    echo    config          - Configures the way, ReactOS will be built.
+    echo
     echo    basedir         - Switch back to the ReactOS source directory.
     goto :EOF
 )

Modified: trunk/tools/RosBE-Windows/Root/README.txt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/README.txt?rev=27116&r1=27115&r2=27116&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/Root/README.txt (original)
+++ trunk/tools/RosBE-Windows/Root/README.txt Sun Jun 10 18:08:15 2007
@@ -42,7 +42,7 @@
 NSIS (Nullsoft Scriptable Install System)
 http://nsis.sourceforge.net/
 
-The GnuWin32 Project (tee/test and their dependencies were obtained here)
+The GnuWin32 Project (tee/test/sed/cut/grep and their dependencies were obtained here)
 http://gnuwin32.sourceforge.net/
 
 Inspired by blight's ReactOS Build Environment v0.2-3.4.4

Modified: trunk/tools/RosBE-Windows/Root/RosBE.mac
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.mac?rev=27116&r1=27115&r2=27116&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.mac (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.mac Sun Jun 10 18:08:15 2007
@@ -1,6 +1,7 @@
 BASEDIR = cd /d "%_ROSSOURCEDIR%"
 CLEAN   = "%ROSBEBASEDIR%\Clean.cmd" $*
 SVN     = "%ROSBEBASEDIR%\SVN.cmd" $*
+CONFIG  = "%ROSBEBASEDIR%\Config.cmd" $*
 HELP    = "%ROSBEBASEDIR%\Help.cmd" $*
 MAKE    = "%ROSBEBASEDIR%\Build.cmd" $*
 MAKEX   = "%ROSBEBASEDIR%\Build-Multi.cmd" $*

Added: trunk/tools/RosBE-Windows/Root/config.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/config.rbuild?rev=27116&view=auto
==============================================================================
--- trunk/tools/RosBE-Windows/Root/config.rbuild (added)
+++ trunk/tools/RosBE-Windows/Root/config.rbuild Sun Jun 10 18:08:15 2007
@@ -1,0 +1,16 @@
+<?xml version="1.0"?>
+<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
+
+<property name="ARCH" value="i386" />
+<property name="SARCH" value="" />
+<property name="OARCH" value="pentium" />
+<property name="OPTIMIZE" value="1" />
+<property name="MP" value="0" />
+<property name="KDBG" value="0" />
+<property name="DBG" value="1" />
+<property name="GDB" value="0" />
+<property name="NSWPAT" value="0" />
+<property name="NTLPC" value="1" />
+<property name="_WINKD_" value="0" />
+
+</rbuild>




More information about the Ros-diffs mailing list