Author: ros-arm-bringup
Date: Sun Jul 12 14:36:36 2009
New Revision: 41909
URL:
http://svn.reactos.org/svn/reactos?rev=41909&view=rev
Log:
Add minimal support for ARM to winebuild, just enough to get it to build and spew out spec
files.
Hopefully it's not used for anything more cpu-specific thank that...
Modified:
trunk/reactos/tools/winebuild/build.h
trunk/reactos/tools/winebuild/main.c
trunk/reactos/tools/winebuild/utils.c
Modified: trunk/reactos/tools/winebuild/build.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/winebuild/build.h?re…
==============================================================================
--- trunk/reactos/tools/winebuild/build.h [iso-8859-1] (original)
+++ trunk/reactos/tools/winebuild/build.h [iso-8859-1] Sun Jul 12 14:36:36 2009
@@ -112,7 +112,7 @@
enum target_cpu
{
- CPU_x86, CPU_x86_64, CPU_SPARC, CPU_ALPHA, CPU_POWERPC
+ CPU_x86, CPU_x86_64, CPU_SPARC, CPU_ALPHA, CPU_POWERPC, CPU_ARM
};
enum target_platform
Modified: trunk/reactos/tools/winebuild/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/winebuild/main.c?rev…
==============================================================================
--- trunk/reactos/tools/winebuild/main.c [iso-8859-1] (original)
+++ trunk/reactos/tools/winebuild/main.c [iso-8859-1] Sun Jul 12 14:36:36 2009
@@ -53,6 +53,8 @@
enum target_cpu target_cpu = CPU_x86;
#elif defined(TARGET_amd64)
enum target_cpu target_cpu = CPU_x86_64;
+#elif defined (TARGET_arm)
+enum target_cpu target_cpu = CPU_ARM;
#else
#error Unsupported CPU
#endif
Modified: trunk/reactos/tools/winebuild/utils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/winebuild/utils.c?re…
==============================================================================
--- trunk/reactos/tools/winebuild/utils.c [iso-8859-1] (original)
+++ trunk/reactos/tools/winebuild/utils.c [iso-8859-1] Sun Jul 12 14:36:36 2009
@@ -516,6 +516,7 @@
case CPU_POWERPC:
case CPU_SPARC:
case CPU_ALPHA:
+ case CPU_ARM:
return 4;
case CPU_x86_64:
return 8;