From 3183787122f3771a8dac5a53f9eb26ca17a36cc1 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 8 Oct 2022 13:29:12 +0800 Subject: [PATCH] ss --- MakeTools/funcs-ext.sh | 5 +++++ OpenIb_Host/ff_build.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/MakeTools/funcs-ext.sh b/MakeTools/funcs-ext.sh index cde728a..6a597fc 100755 --- a/MakeTools/funcs-ext.sh +++ b/MakeTools/funcs-ext.sh @@ -642,6 +642,11 @@ function settarget() export BUILD_TARGET_TOOLCHAIN=GNU export BUILD_TARGET=X86_64 ;; + LOONGARCH64) + targetos LINUX + export BUILD_TARGET_TOOLCHAIN=GNU + export BUILD_TARGET=loongarch64 + ;; PPC64) targetos LINUX export BUILD_TARGET_TOOLCHAIN=GNU diff --git a/OpenIb_Host/ff_build.sh b/OpenIb_Host/ff_build.sh index 2eabf1a..8477834 100755 --- a/OpenIb_Host/ff_build.sh +++ b/OpenIb_Host/ff_build.sh @@ -37,7 +37,7 @@ export BUILD_PLATFORM="LINUX" source ../MakeTools/funcs-ext.sh -settarget x86_64 +settarget `uname -m` settl # This is a user level file to build the basic project -- 2.31.1