util: Add config files for crosstool-ng toolchains.
authorGabe Black <gabeblack@google.com>
Sat, 11 Apr 2020 09:06:42 +0000 (02:06 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 16 Apr 2020 09:12:55 +0000 (09:12 +0000)
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 <ciro.santilli@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>

util/crosstool-ng/aarch64-linux-gnu.defconfig [new file with mode: 0644]
util/crosstool-ng/arm-linux-gnueabihf.defconfig [new file with mode: 0644]
util/crosstool-ng/mipsel-linux-gnu.defconfig [new file with mode: 0644]
util/crosstool-ng/powerpc-linux-gnu.defconfig [new file with mode: 0644]
util/crosstool-ng/sparc64-linux-gnu.defconfig [new file with mode: 0644]

diff --git a/util/crosstool-ng/aarch64-linux-gnu.defconfig b/util/crosstool-ng/aarch64-linux-gnu.defconfig
new file mode 100644 (file)
index 0000000..385e405
--- /dev/null
@@ -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 (file)
index 0000000..af6c1e3
--- /dev/null
@@ -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 (file)
index 0000000..d457c80
--- /dev/null
@@ -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 (file)
index 0000000..345d24e
--- /dev/null
@@ -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 (file)
index 0000000..4a9b3b9
--- /dev/null
@@ -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