summaryrefslogtreecommitdiff
path: root/configs/qemu_sh4_r2d_defconfig
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@yahoo.fr>2010-12-05 21:53:22 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-17 16:52:42 +0100
commitf66d4b05e1dc9f835b2ca9fcd012e1a8d2aeed3f (patch)
treea3e2f7bbcbe9397a72192a3f84775bdba7d1db5c /configs/qemu_sh4_r2d_defconfig
parentd6c864dc8ca38ce108dc411fdf0bad5c25b29386 (diff)
board: Add Qemu SH4 r2d configuration
[ Thomas: * renamed sh4_defconfig to qemu_sh4_r2d_defconfig, for consistency with other Qemu platforms supported * renamed board/qemu/sh4 to board/qemu/sh4-r2d * minor fixes in the readme.txt * remove useless statements in the minimal defconfig * switch to a fixed kernel version instead of "same as headers" ] Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'configs/qemu_sh4_r2d_defconfig')
-rw-r--r--configs/qemu_sh4_r2d_defconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/configs/qemu_sh4_r2d_defconfig b/configs/qemu_sh4_r2d_defconfig
new file mode 100644
index 000000000..5e1f626fd
--- /dev/null
+++ b/configs/qemu_sh4_r2d_defconfig
@@ -0,0 +1,17 @@
+# Architecture
+BR2_sh=y
+BR2_sh4=y
+
+# The kernel wants to use the -m4-nofpu option to make sure that it
+# doesn't use floating point operations.
+BR2_GCC_VERSION_4_5_X=y
+BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-multilib-list=m4,m4-nofpu"
+
+# Linux kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.36"
+BR2_LINUX_KERNEL_PATCH="board/qemu/sh4-r2d/kernel-patches/"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux-2.6.36.config"
+BR2_LINUX_KERNEL_ZIMAGE=y