summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>2016-07-19 09:33:05 (GMT)
committerVaibhav Jain <vaibhav@linux.vnet.ibm.com>2016-07-19 09:44:26 (GMT)
commit4090f17e6b1b0ea0fd8372c5016fdf4fd4b2e3d0 (patch)
treea39d4c110e6ce10eb2f4d4c8c7388db5b9a509f0 /samples
parent6e7c61650a39a67ee02ed58c11d64c94c436bb33 (diff)
samples: Add powerpc64 little-endian toolchain sample
This change adds a powerpc64le-unknown-linux-gnu sample that can be used to quickly create a little-endian tool-chain for powerpc64 architecture. This sample is based on the earlier work done by "Yann E. MORIN" to add support for powerpc64 tool chain and implementing the power64-unknown-linux-gnu sample. The existing sample however generates a big-endian tool chain by default. Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/powerpc64le-unknown-linux-gnu/crosstool.config13
-rw-r--r--samples/powerpc64le-unknown-linux-gnu/reported.by3
2 files changed, 16 insertions, 0 deletions
diff --git a/samples/powerpc64le-unknown-linux-gnu/crosstool.config b/samples/powerpc64le-unknown-linux-gnu/crosstool.config
new file mode 100644
index 0000000..6c7771d
--- /dev/null
+++ b/samples/powerpc64le-unknown-linux-gnu/crosstool.config
@@ -0,0 +1,13 @@
+CT_LOCAL_TARBALLS_DIR="${HOME}/src"
+CT_SAVE_TARBALLS=y
+CT_LOG_EXTRA=y
+CT_ARCH_64=y
+CT_ARCH_powerpc=y
+CT_KERNEL_linux=y
+CT_BINUTILS_PLUGINS=y
+CT_CC_LANG_CXX=y
+CT_DEBUG_gdb=y
+# CT_GDB_CROSS_PYTHON is not set
+CT_GDB_NATIVE=y
+CT_ARCH_ENDIAN="little"
+CT_ARCH_LE=y
diff --git a/samples/powerpc64le-unknown-linux-gnu/reported.by b/samples/powerpc64le-unknown-linux-gnu/reported.by
new file mode 100644
index 0000000..0bcecbb
--- /dev/null
+++ b/samples/powerpc64le-unknown-linux-gnu/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Vaibhav Jain"
+reporter_url="https://github.com/vaibhav92/crosstool-ng"
+reporter_comment="Based on power64-unknown-linux-gnu sample implemented by Yann E. MORIN"