From 6fae696131c29fc6c67faeaa6d021d6401c7fdec Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Mon, 23 Aug 2021 12:23:55 +1200 Subject: [PATCH] Add mips-unknown-linux-gnu sample We have unkown-elf and linux-uclibc already. Complete the set with a linux-gnu configuration. Signed-off-by: Chris Packham --- .../workflows/continuous-integration-workflow.yml | 4 +++- samples/mips-unknown-linux-gnu/crosstool.config | 13 +++++++++++++ samples/mips-unknown-linux-gnu/reported.by | 3 +++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 samples/mips-unknown-linux-gnu/crosstool.config create mode 100644 samples/mips-unknown-linux-gnu/reported.by diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index b9cc9e92..64933d9e 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -108,6 +108,7 @@ jobs: "armv6-nommu-linux-uclibcgnueabi", "avr", "mips-unknown-elf", + "mips-unknown-linux-gnu", "mips64-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "powerpc64-unknown-linux-gnu", @@ -128,9 +129,10 @@ jobs: - {host: "macos-10.15", sample: "arc-multilib-linux-gnu"} - {host: "macos-10.15", sample: "arc-multilib-linux-uclibc"} - # Exclude mips64-*-linux-gnu because of usage in + # Exclude mips*-*-linux-gnu because of usage in # elf-entry.c for linux kernel headers. is a GNU # extension and doesn't exist on MacOS X + - {host: "macos-10.15", sample: "mips-unknown-linux-gnu"} - {host: "macos-10.15", sample: "mips64-unknown-linux-gnu"} steps: - name: Create case sensitive workspace volume for macOS diff --git a/samples/mips-unknown-linux-gnu/crosstool.config b/samples/mips-unknown-linux-gnu/crosstool.config new file mode 100644 index 00000000..315d20ca --- /dev/null +++ b/samples/mips-unknown-linux-gnu/crosstool.config @@ -0,0 +1,13 @@ +CT_CONFIG_VERSION="3" +CT_ARCH_MIPS=y +CT_ARCH_ARCH="mips1" +CT_ARCH_FLOAT_SW=y +CT_KERNEL_LINUX=y +CT_BINUTILS_PLUGINS=y +CT_CC_GCC_mips_plt=y +CT_CC_LANG_CXX=y +CT_DEBUG_DUMA=y +CT_DEBUG_GDB=y +# CT_GDB_CROSS_PYTHON is not set +CT_GDB_NATIVE=y +CT_DEBUG_STRACE=y diff --git a/samples/mips-unknown-linux-gnu/reported.by b/samples/mips-unknown-linux-gnu/reported.by new file mode 100644 index 00000000..41eaaff6 --- /dev/null +++ b/samples/mips-unknown-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Chris Packham" +reporter_url="" +reporter_comment="Big-endian configuration for MIPS/glibc."