You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
770 B

  1. From 425b44bc6f6abcd4c12e2fb72f42622e825ad700 Mon Sep 17 00:00:00 2001
  2. From: Martin Schneider <martschneider@google.com>
  3. Date: Mon, 25 Oct 2021 09:53:33 +0800
  4. Subject: [PATCH] Support mipsel architecture.
  5. Signed-off-by: Martin Schneider <martschneider@google.com>
  6. ---
  7. CMakeLists.txt | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. --- a/CMakeLists.txt
  10. +++ b/CMakeLists.txt
  11. @@ -489,7 +489,7 @@ elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUA
  12. set(ARCH "aarch64")
  13. elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm*")
  14. set(ARCH "arm")
  15. -elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "mips")
  16. +elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^mips*")
  17. # Just to avoid the “unknown processor” error.
  18. set(ARCH "generic")
  19. elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64le")