From 38377d3c8d5a53b46d3609f6aba3056c42399759 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Thu, 19 May 2022 14:19:18 +0800 Subject: 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 --- samples/loongarch64-unknown-linux-gnu/crosstool.config | 12 ++++++++++++ samples/loongarch64-unknown-linux-gnu/reported.by | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 samples/loongarch64-unknown-linux-gnu/crosstool.config create mode 100644 samples/loongarch64-unknown-linux-gnu/reported.by (limited to 'samples') 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 " +reporter_url="https://jia.je/" +reporter_comment="" -- cgit v1.2.3