summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/include/tune-mips32.inc1
-rw-r--r--meta/conf/machine/qemumips.conf15
2 files changed, 16 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc
new file mode 100644
index 0000000000..93da66b158
--- /dev/null
+++ b/meta/conf/machine/include/tune-mips32.inc
@@ -0,0 +1 @@
TARGET_CC_ARCH = "-march=mips32"
diff --git a/meta/conf/machine/qemumips.conf b/meta/conf/machine/qemumips.conf
new file mode 100644
index 0000000000..27f96480b5
--- /dev/null
+++ b/meta/conf/machine/qemumips.conf
@@ -0,0 +1,15 @@
1#@TYPE: Machine
2#@NAME: qemu MIPS (big-endian) Emulator setup
3#@DESCRIPTION: Machine configuration for running an MIPS r4k platform system under qemu emulation
4
5TARGET_ARCH = "mips"
6
7require conf/machine/include/qemu.inc
8require conf/machine/include/tune-mips32.inc
9
10KERNEL_IMAGETYPE = "vmlinux.bin"
11
12SERIAL_CONSOLE = "115200 ttyS0"
13
14PREFERRED_PROVIDER_virtual/kernel = "linux"
15MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"