From 884db2ed4783f54cb7356893be3c95b096f65869 Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Mon, 4 Mar 2024 16:14:49 +0800 Subject: [PATCH] loongarch64-linux-musl: add sample config Add sample config for target loongarch64-unknown-linux-musl. Signed-off-by: WANG Rui --- .../workflows/continuous-integration-workflow.yml | 1 + .../loongarch64-unknown-linux-musl/crosstool.config | 12 ++++++++++++ samples/loongarch64-unknown-linux-musl/reported.by | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 samples/loongarch64-unknown-linux-musl/crosstool.config create mode 100644 samples/loongarch64-unknown-linux-musl/reported.by diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 10a267ef..e7227581 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -120,6 +120,7 @@ jobs: "hppa-unknown-linux-gnu", "i686-w64-mingw32", "loongarch64-unknown-linux-gnu", + "loongarch64-unknown-linux-musl", "mips-unknown-elf", "mips-unknown-linux-gnu", "mips64-unknown-linux-gnu", diff --git a/samples/loongarch64-unknown-linux-musl/crosstool.config b/samples/loongarch64-unknown-linux-musl/crosstool.config new file mode 100644 index 00000000..7fd580b3 --- /dev/null +++ b/samples/loongarch64-unknown-linux-musl/crosstool.config @@ -0,0 +1,12 @@ +CT_CONFIG_VERSION="4" +CT_EXPERIMENTAL=y +CT_ARCH_LOONGARCH=y +# CT_DEMULTILIB is not set +CT_ARCH_USE_MMU=y +CT_ARCH_ARCH="loongarch64" +CT_KERNEL_LINUX=y +CT_LINUX_V_5_19=y +CT_LIBC_MUSL=y +CT_CC_GCC_ENABLE_DEFAULT_PIE=y +CT_CC_LANG_CXX=y +CT_GETTEXT_NEEDED=y diff --git a/samples/loongarch64-unknown-linux-musl/reported.by b/samples/loongarch64-unknown-linux-musl/reported.by new file mode 100644 index 00000000..31cb24ce --- /dev/null +++ b/samples/loongarch64-unknown-linux-musl/reported.by @@ -0,0 +1,3 @@ +reporter_name="WANG Rui " +reporter_url="https://hev.cc/" +reporter_comment=""