[ros-diffs] [mpiulachs] 32443: Add support for ARM architecture

mpiulachs at svn.reactos.org mpiulachs at svn.reactos.org
Thu Feb 21 19:34:16 CET 2008


Author: mpiulachs
Date: Thu Feb 21 21:34:16 2008
New Revision: 32443

URL: http://svn.reactos.org/svn/reactos?rev=32443&view=rev
Log:
Add support for ARM architecture

Modified:
    branches/rbuild/reactos/tools/rbuild/project.cpp

Modified: branches/rbuild/reactos/tools/rbuild/project.cpp
URL: http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/tools/rbuild/project.cpp?rev=32443&r1=32442&r2=32443&view=diff
==============================================================================
--- branches/rbuild/reactos/tools/rbuild/project.cpp (original)
+++ branches/rbuild/reactos/tools/rbuild/project.cpp Thu Feb 21 21:34:16 2008
@@ -504,6 +504,15 @@
 			non_if_data.defines.push_back ( pDefine );
 		}
 		break;
+		case ARM:
+		{
+			Define* pDefine = new Define (*this, "_ARM_" );
+			non_if_data.defines.push_back ( pDefine );
+
+			pDefine = new Define (*this, "__arm__" );
+			non_if_data.defines.push_back ( pDefine );
+		}
+		break;
 	}
 }
 
@@ -514,6 +523,8 @@
 		return I386;
 	if ( attribute.value == "powerpc" )
 		return PowerPC;
+	if ( attribute.value == "arm" )
+		return ARM;
 	throw InvalidAttributeValueException ( location,
 	                                       attribute.name,
 	                                       attribute.value );




More information about the Ros-diffs mailing list