From 3ec5c718758921ff80b2bb0e5b0849d4f618c839 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 11 Apr 2020 02:06:42 -0700 Subject: [PATCH] util: Add config files for crosstool-ng toolchains. There is one for each arch gem5 supports, except RISCV which is not supported by crosstool-ng at the moment. All configs are for Linux, also because that's what crosstool-ng tends to support. Change-Id: I898a9e8c7b144c3d690c232fd4fb20ede5430def Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27758 Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com> Reviewed-by: Ciro Santilli Maintainer: Gabe Black --- util/crosstool-ng/aarch64-linux-gnu.defconfig | 10 ++++++++++ util/crosstool-ng/arm-linux-gnueabihf.defconfig | 11 +++++++++++ util/crosstool-ng/mipsel-linux-gnu.defconfig | 11 +++++++++++ util/crosstool-ng/powerpc-linux-gnu.defconfig | 10 ++++++++++ util/crosstool-ng/sparc64-linux-gnu.defconfig | 11 +++++++++++ 5 files changed, 53 insertions(+) create mode 100644 util/crosstool-ng/aarch64-linux-gnu.defconfig create mode 100644 util/crosstool-ng/arm-linux-gnueabihf.defconfig create mode 100644 util/crosstool-ng/mipsel-linux-gnu.defconfig create mode 100644 util/crosstool-ng/powerpc-linux-gnu.defconfig create mode 100644 util/crosstool-ng/sparc64-linux-gnu.defconfig diff --git a/util/crosstool-ng/aarch64-linux-gnu.defconfig b/util/crosstool-ng/aarch64-linux-gnu.defconfig new file mode 100644 index 000000000..385e4057f --- /dev/null +++ b/util/crosstool-ng/aarch64-linux-gnu.defconfig @@ -0,0 +1,10 @@ +CT_CONFIG_VERSION="3" +CT_ARCH_ARM=y +CT_OMIT_TARGET_VENDOR=y +CT_ARCH_64=y +CT_KERNEL_LINUX=y +CT_BINUTILS_PLUGINS=y +CT_BINUTILS_FOR_TARGET=y +CT_CREATE_LDSO_CONF=y +CT_CC_LANG_CXX=y +CT_DEBUG_GDB=y diff --git a/util/crosstool-ng/arm-linux-gnueabihf.defconfig b/util/crosstool-ng/arm-linux-gnueabihf.defconfig new file mode 100644 index 000000000..af6c1e337 --- /dev/null +++ b/util/crosstool-ng/arm-linux-gnueabihf.defconfig @@ -0,0 +1,11 @@ +CT_CONFIG_VERSION="3" +CT_ARCH_ARM=y +CT_ARCH_ARM_INTERWORKING=y +CT_OMIT_TARGET_VENDOR=y +CT_MULTILIB=y +CT_ARCH_FLOAT_HW=y +CT_KERNEL_LINUX=y +CT_BINUTILS_PLUGINS=y +CT_BINUTILS_FOR_TARGET=y +CT_CC_LANG_CXX=y +CT_DEBUG_GDB=y diff --git a/util/crosstool-ng/mipsel-linux-gnu.defconfig b/util/crosstool-ng/mipsel-linux-gnu.defconfig new file mode 100644 index 000000000..d457c8040 --- /dev/null +++ b/util/crosstool-ng/mipsel-linux-gnu.defconfig @@ -0,0 +1,11 @@ +CT_CONFIG_VERSION="3" +CT_ARCH_MIPS=y +CT_OMIT_TARGET_VENDOR=y +CT_ARCH_LE=y +CT_ARCH_FLOAT_HW=y +CT_KERNEL_LINUX=y +CT_BINUTILS_PLUGINS=y +CT_BINUTILS_FOR_TARGET=y +CT_CREATE_LDSO_CONF=y +CT_CC_LANG_CXX=y +CT_DEBUG_GDB=y diff --git a/util/crosstool-ng/powerpc-linux-gnu.defconfig b/util/crosstool-ng/powerpc-linux-gnu.defconfig new file mode 100644 index 000000000..345d24e3a --- /dev/null +++ b/util/crosstool-ng/powerpc-linux-gnu.defconfig @@ -0,0 +1,10 @@ +CT_CONFIG_VERSION="3" +CT_ARCH_POWERPC=y +CT_OMIT_TARGET_VENDOR=y +CT_ARCH_FLOAT_HW=y +CT_KERNEL_LINUX=y +CT_BINUTILS_PLUGINS=y +CT_BINUTILS_FOR_TARGET=y +CT_CREATE_LDSO_CONF=y +CT_CC_LANG_CXX=y +CT_DEBUG_GDB=y diff --git a/util/crosstool-ng/sparc64-linux-gnu.defconfig b/util/crosstool-ng/sparc64-linux-gnu.defconfig new file mode 100644 index 000000000..4a9b3b9ea --- /dev/null +++ b/util/crosstool-ng/sparc64-linux-gnu.defconfig @@ -0,0 +1,11 @@ +CT_CONFIG_VERSION="3" +CT_ARCH_SPARC=y +CT_OMIT_TARGET_VENDOR=y +CT_ARCH_64=y +CT_ARCH_FLOAT_HW=y +CT_KERNEL_LINUX=y +CT_BINUTILS_PLUGINS=y +CT_BINUTILS_FOR_TARGET=y +CT_CREATE_LDSO_CONF=y +CT_CC_LANG_CXX=y +CT_DEBUG_GDB=y -- 2.30.2