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/pro…
==============================================================================
--- 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 );