aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJiajie Chen <c@jia.je>2022-05-19 14:19:18 +0800
committerChris Packham <judge.packham@gmail.com>2022-08-19 22:01:34 +1200
commit38377d3c8d5a53b46d3609f6aba3056c42399759 (patch)
tree10a70d44450bde06c3ab1ea3d8cf95b571ed9a0d /samples
parente840986fa432888fbc893cd963dcd08a0020b668 (diff)
downloadcrosstool-ng-38377d3c8d5a53b46d3609f6aba3056c42399759.tar.gz
crosstool-ng-38377d3c8d5a53b46d3609f6aba3056c42399759.tar.bz2
crosstool-ng-38377d3c8d5a53b46d3609f6aba3056c42399759.zip
loongarch64: add sample config
Add sample config for target loongarch64-unknown-linux-gnu. Currently, it fails to build on macOS due to flex/bison incompatibility. Signed-off-by: Jiajie Chen <c@jia.je>
Diffstat (limited to 'samples')
-rw-r--r--samples/loongarch64-unknown-linux-gnu/crosstool.config12
-rw-r--r--samples/loongarch64-unknown-linux-gnu/reported.by3
2 files changed, 15 insertions, 0 deletions
diff --git a/samples/loongarch64-unknown-linux-gnu/crosstool.config b/samples/loongarch64-unknown-linux-gnu/crosstool.config
new file mode 100644
index 00000000..09697d2a
--- /dev/null
+++ b/samples/loongarch64-unknown-linux-gnu/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_64=y
+CT_ARCH_ARCH="loongarch64"
+CT_KERNEL_LINUX=y
+CT_CC_LANG_CXX=y
+CT_DEBUG_GDB=y
+# CT_GDB_CROSS_PYTHON is not set
+# CT_GDB_GDBSERVER is not set
diff --git a/samples/loongarch64-unknown-linux-gnu/reported.by b/samples/loongarch64-unknown-linux-gnu/reported.by
new file mode 100644
index 00000000..c40b616c
--- /dev/null
+++ b/samples/loongarch64-unknown-linux-gnu/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Jiajie Chen <c@jia.je>"
+reporter_url="https://jia.je/"
+reporter_comment=""