summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorFrederick Zhang <Frederick888@Tsundere.moe>2015-09-04 20:47:36 (GMT)
committerFrederick Zhang <Frederick888@Tsundere.moe>2015-09-05 23:06:53 (GMT)
commitf29c8332ed52d3256e158bebc1a0c0d259d93647 (patch)
treec4094cd2aa90fc44883bf4de9d119dd869677388 /samples
parenta66d84a69b302fb5a1648a1241b6528b4b9c7630 (diff)
raspberry pi 2 sample
Diffstat (limited to 'samples')
-rw-r--r--samples/armv7-rpi2-linux-gnueabihf/crosstool.config29
-rw-r--r--samples/armv7-rpi2-linux-gnueabihf/reported.by3
2 files changed, 32 insertions, 0 deletions
diff --git a/samples/armv7-rpi2-linux-gnueabihf/crosstool.config b/samples/armv7-rpi2-linux-gnueabihf/crosstool.config
new file mode 100644
index 0000000..c1f6723
--- /dev/null
+++ b/samples/armv7-rpi2-linux-gnueabihf/crosstool.config
@@ -0,0 +1,29 @@
+CT_ARCH="arm"
+CT_ARCH_CPU="cortex-a7"
+CT_ARCH_FPU="neon-vfpv4"
+CT_ARCH_LE=y
+CT_ARCH_32=y
+CT_ARCH_BITNESS=32
+CT_ARCH_FLOAT_HW=y
+CT_ARCH_arm=y
+CT_ARCH_SUFFIX="v7"
+CT_ARCH_ENDIAN="little"
+CT_ARCH_FLOAT="hard"
+CT_ARCH_ARM_MODE="arm"
+CT_ARCH_ARM_MODE_ARM=y
+CT_ARCH_ARM_TUPLE_USE_EABIHF=y
+CT_KERNEL="linux"
+CT_KERNEL_linux=y
+CT_TARGET_VENDOR="rpi2"
+CT_BINUTILS="binutils"
+CT_BINUTILS_binutils=y
+CT_BINUTILS_LINKER_LD_GOLD=y
+CT_BINUTILS_LINKERS_LIST="ld,gold"
+CT_BINUTILS_PLUGINS=y
+CT_BINUTILS_GOLD_THREADS=y
+CT_BINUTILS_LD_WRAPPER=y
+CT_LIBC="glibc"
+CT_LIBC_glibc=y
+CT_CC_LANG_CXX=y
+CT_DEBUG_gdb=y
+CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--with-expat"
diff --git a/samples/armv7-rpi2-linux-gnueabihf/reported.by b/samples/armv7-rpi2-linux-gnueabihf/reported.by
new file mode 100644
index 0000000..8e9af74
--- /dev/null
+++ b/samples/armv7-rpi2-linux-gnueabihf/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Frederick Zhang <frederick888@tsundere.moe>"
+reporter_url="https://blog.onee3.org"
+reporter_comment="crosstool-NG configuration for Raspberry Pi 2 (Raspbian Jessie). Adjust the settings as you need."