enable Hexagon target from cmake
authorSebastian Pop <spop@codeaurora.org>
Mon, 20 Aug 2012 19:56:49 +0000 (19:56 +0000)
committerSebastian Pop <spop@codeaurora.org>
Mon, 20 Aug 2012 19:56:49 +0000 (19:56 +0000)
The patch adds a missing case for the Hexagon target in cmake/config-ix.cmake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162218 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/config-ix.cmake

index 25d6211ac6f29cc7ba80cd269777db194217a74c..1e72258d448a68992abb134c9878a6bd54d4bc44 100755 (executable)
@@ -324,6 +324,8 @@ elseif (LLVM_NATIVE_ARCH MATCHES "xcore")
   set(LLVM_NATIVE_ARCH XCore)
 elseif (LLVM_NATIVE_ARCH MATCHES "msp430")
   set(LLVM_NATIVE_ARCH MSP430)
+elseif (LLVM_NATIVE_ARCH MATCHES "hexagon")
+  set(LLVM_NATIVE_ARCH Hexagon)
 else ()
   message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}")
 endif ()