Author: dreimer Date: Mon Jan 26 05:14:02 2009 New Revision: 39108
URL: http://svn.reactos.org/svn/reactos?rev=39108&view=rev Log: Delete makefile.auto of the active arch if OBJ or OUT Folder became empty, eg on a RAMDisk after restart. This fixes many problems caused otherwise. Thx to Christoph_vW for spotting.
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershel... ============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] (original) +++ trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] Mon Jan 26 05:14:02 2009 @@ -75,12 +75,20 @@ if ($_ROSBE_OBJPATH -ne $null) { if (Test-Path "$_ROSBE_OBJPATH") { "WARNING: The Object-Path specified doesn't seem to exist. Creating..." + if (Test-Path "makefile*.auto") { + "WARNING: makefile.auto exists. Deleting..." + clean + } } $ENV:ROS_INTERMEDIATE = "$_ROSBE_OBJPATH" } if ($_ROSBE_OUTPATH -ne $null) { if (Test-Path "$_ROSBE_OUTPATH") { "WARNING: The Output-Path specified doesn't seem to exist. Creating..." + if (Test-Path "makefile*.auto") { + "WARNING: makefile.auto exists. Deleting..." + clean + } } $ENV:ROS_OUTPUT = "$_ROSBE_OUTPATH" $ENV:ROS_TEMPORARY = "$_ROSBE_OUTPATH"
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Buil... ============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd [iso-8859-1] (original) +++ trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd [iso-8859-1] Mon Jan 26 05:14:02 2009 @@ -82,12 +82,20 @@ if defined _ROSBE_OBJPATH ( if not exist "%_ROSBE_OBJPATH%." ( echo WARNING: The Object-Path specified doesn't seem to exist. Creating... + if exist "makefile*.auto" ( + echo WARNING: makefile.auto exists. Deleting... + "%_ROSBE_BASEDIR%\Clean.cmd" + ) ) set ROS_INTERMEDIATE=%_ROSBE_OBJPATH% ) if defined _ROSBE_OUTPATH ( if not exist "%_ROSBE_OUTPATH%." ( echo WARNING: The Output-Path specified doesn't seem to exist. Creating... + if exist "makefile*.auto" ( + echo WARNING: makefile.auto exists. Deleting... + "%_ROSBE_BASEDIR%\Clean.cmd" + ) ) set ROS_OUTPUT=%_ROSBE_OUTPATH% set ROS_TEMPORARY=%_ROSBE_OUTPATH%