summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-08-25 07:41:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-09 12:07:31 +0100
commit09a77107e7e5b407999830143505708c6b9bddc3 (patch)
treea83695c28e003a71df85f1e5a58f52970efc2539 /meta/conf
parent64da0d77991c3bdd98a64060a338a4a2aac9551e (diff)
downloadpoky-09a77107e7e5b407999830143505708c6b9bddc3.tar.gz
qemumips/qemumips64.conf: set vars for runqemu
Add qemuboot-mips.inc to reduce duplicated code, the various mips bsps which can be boot by runqemu can require qemuboot-mips.inc (From OE-Core rev: cb28128477e98ed7dc7a90dd197f6dd04cf75be0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/include/qemuboot-mips.inc7
-rw-r--r--meta/conf/machine/qemumips.conf1
-rw-r--r--meta/conf/machine/qemumips64.conf1
3 files changed, 9 insertions, 0 deletions
diff --git a/meta/conf/machine/include/qemuboot-mips.inc b/meta/conf/machine/include/qemuboot-mips.inc
new file mode 100644
index 0000000000..0f04b81443
--- /dev/null
+++ b/meta/conf/machine/include/qemuboot-mips.inc
@@ -0,0 +1,7 @@
1# For runqemu
2IMAGE_CLASSES += "qemuboot"
3QB_MEM = "-m 256"
4QB_MACHINE = "-machine malta"
5QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 console=tty"
6QB_OPT_APPEND = "-vga cirrus -show-cursor -usb -usbdevice tablet"
7QB_SYSTEM_NAME = "qemu-system-${TUNE_ARCH}"
diff --git a/meta/conf/machine/qemumips.conf b/meta/conf/machine/qemumips.conf
index fbf813740b..3182ea1b54 100644
--- a/meta/conf/machine/qemumips.conf
+++ b/meta/conf/machine/qemumips.conf
@@ -4,6 +4,7 @@
4 4
5require conf/machine/include/qemu.inc 5require conf/machine/include/qemu.inc
6require conf/machine/include/tune-mips32r2.inc 6require conf/machine/include/tune-mips32r2.inc
7require conf/machine/include/qemuboot-mips.inc
7 8
8KERNEL_IMAGETYPE = "vmlinux" 9KERNEL_IMAGETYPE = "vmlinux"
9KERNEL_ALT_IMAGETYPE = "vmlinux.bin" 10KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
diff --git a/meta/conf/machine/qemumips64.conf b/meta/conf/machine/qemumips64.conf
index 8c3f1fe283..9529f4c4f3 100644
--- a/meta/conf/machine/qemumips64.conf
+++ b/meta/conf/machine/qemumips64.conf
@@ -4,6 +4,7 @@
4 4
5require conf/machine/include/qemu.inc 5require conf/machine/include/qemu.inc
6require conf/machine/include/tune-mips64.inc 6require conf/machine/include/tune-mips64.inc
7require conf/machine/include/qemuboot-mips.inc
7 8
8KERNEL_IMAGETYPE = "vmlinux" 9KERNEL_IMAGETYPE = "vmlinux"
9KERNEL_ALT_IMAGETYPE = "vmlinux.bin" 10KERNEL_ALT_IMAGETYPE = "vmlinux.bin"