diff options
author | Zoltan Varga <vargaz@gmail.com> | 2009-05-26 02:51:36 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2009-05-26 02:51:36 +0400 |
commit | b73f54ca71cef318cd538a87c7f700f1cb92092f (patch) | |
tree | 276651c35752beba4e796eaf91eb85702e0df6ea /CMakeLists.txt | |
parent | ca00e5922cd174ffa79f605402827bb19b790793 (diff) |
2009-05-26 Zoltan Varga <vargaz@gmail.com>
* CMakeLists.txt: Add arm support.
svn path=/trunk/mono/; revision=134731
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a22d33d2f5a..ed80942bc8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2098,6 +2098,12 @@ if(host MATCHES "(x86_64-.*-.*)|(amd64-.*-.*)") set(arch_target amd64) set(JIT_SUPPORTED yes) set(jit_wanted true) +elseif(host MATCHES "arm.*-linux.*") + set(TARGET ARM) + set(arch_target arm) + set(ACCESS_UNALIGNED no) + set(JIT_SUPPORTED yes) + set(jit_wanted true) else() message(FATAL_ERROR "Host ${host} not yet supported by the cmake build.") endif() @@ -2257,13 +2263,6 @@ endif() ### set(CPPFLAGS "$CPPFLAGS -DARM_FPU_NONE=1") ### set(jit_wanted true) ### ;; -### arm*-linux*) -### set(TARGET ARM;) -### set(arch_target arm;) -### set(ACCESS_UNALIGNED "no") -### set(JIT_SUPPORTED yes) -### set(jit_wanted true) -### ;; ### s390-*-linux*) ### set(TARGET S390;) ### ac_define(MONO_ARCH_REGPARMS,1,[Architecture uses registers for Parameters]) |