ck/Add-loongarch64-support.patch
2024-03-20 17:19:11 +08:00

30 lines
676 B
Diff

From feb19456868ac62ba1b1b385703bed215e4451aa Mon Sep 17 00:00:00 2001
From: starlet-dx <15929766099@163.com>
Date: Mon, 13 Feb 2023 14:30:02 +0800
Subject: [PATCH 1/1] Add loongarch64 support
---
configure | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/configure b/configure
index e840d41..f367e80 100755
--- a/configure
+++ b/configure
@@ -369,6 +369,12 @@ if test "x$PLATFORM" = "x"; then
fi
case $PLATFORM in
+ "loongarch64")
+ RTM_ENABLE="CK_MD_RTM_DISABLE"
+ MM="${MM:-"CK_MD_RMO"}"
+ PLATFORM=loongarch64
+ ENVIRONMENT=64
+ ;;
"macppc"|"Power Macintosh"|"powerpc")
RTM_ENABLE="CK_MD_RTM_DISABLE"
LSE_ENABLE="CK_MD_LSE_DISABLE"
--
2.30.0