We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 180ba5e + 1ebcbdb commit 262018fCopy full SHA for 262018f
cmake/system.cmake
@@ -21,7 +21,15 @@ endif()
21
# Other files expect CORE, which is actually TARGET and will become TARGET_CORE for kernel build. Confused yet?
22
# It seems we are meant to use TARGET as input and CORE internally as kernel.
23
if(NOT DEFINED CORE AND DEFINED TARGET)
24
- set(CORE ${TARGET})
+ if (${TARGET} STREQUAL "LOONGSON3R5")
25
+ set(CORE "LA464")
26
+ elseif (${TARGET} STREQUAL "LOONGSON2K1000")
27
+ set(CORE "LA264")
28
+ elseif (${TARGET} STREQUAL "LOONGSONGENERIC")
29
+ set(CORE "LA64_GENERIC)")
30
+ else ()
31
+ set(CORE ${TARGET})
32
+ endif()
33
endif()
34
35
# TARGET_CORE will override TARGET which is used in DYNAMIC_ARCH=1.
0 commit comments