aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWANG Rui <wangrui@loongson.cn>2024-03-04 16:14:49 +0800
committerChris Packham <judge.packham@gmail.com>2024-03-11 17:28:53 +1300
commit884db2ed4783f54cb7356893be3c95b096f65869 (patch)
tree75e2704252a93a48c981a1c65564d09bbf1aaaee
parent68bba1aa64a868a47a5d52a4718356bffc039d62 (diff)
downloadcrosstool-ng-884db2ed4783f54cb7356893be3c95b096f65869.tar.gz
crosstool-ng-884db2ed4783f54cb7356893be3c95b096f65869.tar.bz2
crosstool-ng-884db2ed4783f54cb7356893be3c95b096f65869.zip
loongarch64-linux-musl: add sample config
Add sample config for target loongarch64-unknown-linux-musl. Signed-off-by: WANG Rui <wangrui@loongson.cn>
-rw-r--r--.github/workflows/continuous-integration-workflow.yml1
-rw-r--r--samples/loongarch64-unknown-linux-musl/crosstool.config12
-rw-r--r--samples/loongarch64-unknown-linux-musl/reported.by3
3 files changed, 16 insertions, 0 deletions
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 <wangrui@loongson.cn>"
+reporter_url="https://hev.cc/"
+reporter_comment=""