aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-09-25 15:57:15 -0700
committerKhem Raj <raj.khem@gmail.com>2010-09-27 15:05:26 -0700
commitd7482b9c431f298e487c9b4f12fbcbde725741c8 (patch)
tree4676863e55df32d4437c040967fd39c4e70fcdae /conf
parentc03a23a14cd48cd698d04c324c15d440de91fdf5 (diff)
downloadopenembedded-d7482b9c431f298e487c9b4f12fbcbde725741c8.tar.gz
conf/machine: Add qemumips64 machine configuration and tune file.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/tune-mips64.inc2
-rw-r--r--conf/machine/qemumips64.conf15
2 files changed, 17 insertions, 0 deletions
diff --git a/conf/machine/include/tune-mips64.inc b/conf/machine/include/tune-mips64.inc
new file mode 100644
index 0000000000..8fddf89ed8
--- /dev/null
+++ b/conf/machine/include/tune-mips64.inc
@@ -0,0 +1,2 @@
+# eglibc needs this flag to default to 64bit otherwise it chooses N32 ABI
+TARGET_CC_ARCH = "-mabi=64"
diff --git a/conf/machine/qemumips64.conf b/conf/machine/qemumips64.conf
new file mode 100644
index 0000000000..3327b0168e
--- /dev/null
+++ b/conf/machine/qemumips64.conf
@@ -0,0 +1,15 @@
+#@TYPE: Machine
+#@NAME: qemu MIPS (big-endian) Emulator setup
+#@DESCRIPTION: Machine configuration for running an MIPS64 platform system under qemu emulation
+
+TARGET_ARCH = "mips64"
+FEED_ARCH = "${TARGET_ARCH}"
+require conf/machine/include/qemu.inc
+require conf/machine/include/tune-mips64.inc
+
+KERNEL_IMAGETYPE = "vmlinux"
+KERNEL_OUTPUT = "vmlinux"
+SERIAL_CONSOLE = "115200 ttyS0"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"