Gabe Black has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/27758 )

Change subject: util: Add config files for crosstool-ng toolchains.
......................................................................

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 <345032938...@cloudbuild.gserviceaccount.com>
Reviewed-by: Ciro Santilli <ciro.santi...@arm.com>
Maintainer: Gabe Black <gabebl...@google.com>
---
A util/crosstool-ng/aarch64-linux-gnu.defconfig
A util/crosstool-ng/arm-linux-gnueabihf.defconfig
A util/crosstool-ng/mipsel-linux-gnu.defconfig
A util/crosstool-ng/powerpc-linux-gnu.defconfig
A util/crosstool-ng/sparc64-linux-gnu.defconfig
5 files changed, 53 insertions(+), 0 deletions(-)

Approvals:
  Ciro Santilli: Looks good to me, approved
  Gabe Black: Looks good to me, approved
  Gem5 Cloud Project GCB service account: Regressions pass



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

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/27758
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I898a9e8c7b144c3d690c232fd4fb20ede5430def
Gerrit-Change-Number: 27758
Gerrit-PatchSet: 3
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-Reviewer: Bobby R. Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Ciro Santilli <ciro.santi...@arm.com>
Gerrit-Reviewer: Gabe Black <gabebl...@google.com>
Gerrit-Reviewer: Gem5 Cloud Project GCB service account <345032938...@cloudbuild.gserviceaccount.com>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to