[oe-commits] Khem Raj : conf/machine: Add qemumips64 machine configuration and tune file .

git version control git at git.openembedded.org
Mon Sep 27 22:06:17 UTC 2010


Module: openembedded.git
Branch: master
Commit: d7482b9c431f298e487c9b4f12fbcbde725741c8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d7482b9c431f298e487c9b4f12fbcbde725741c8

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Sep 25 15:57:15 2010 -0700

conf/machine: Add qemumips64 machine configuration and tune file.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 conf/machine/include/tune-mips64.inc |    2 ++
 conf/machine/qemumips64.conf         |   15 +++++++++++++++
 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 0000000..8fddf89
--- /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 0000000..3327b01
--- /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"





More information about the Openembedded-commits mailing list