[RFC,5/6] qemumips64.conf: provide a common qemumips64 machine configuration

Submitted by Bian Naimeng on July 29, 2013, 4:08 a.m.

Details

Message ID 51F5EAB9.1030007@cn.fujitsu.com
State New
Headers show

Commit Message

Bian Naimeng July 29, 2013, 4:08 a.m.
qemuxmips64.conf: provide a common qemumips64 machine configuration, 
so developer/distributor can customize their specific one.

Although, we can modify the meta/conf/machine/qemuxmips64.conf to customize our
configuration, but it's uncomfortable for developer/distributor maintaining
their branch.
After applying this patch, developer can tell poky using their machine
configuration by prepending their layer to BBPATH(Of course,
the bblayers.conf should be adapted to it).

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
---
 meta/conf/machine/include/qemumips64.inc |   11 +++++++++++
 meta/conf/machine/qemumips64.conf        |   12 ++----------
 2 files changed, 13 insertions(+), 10 deletions(-)
 create mode 100644 meta/conf/machine/include/qemumips64.inc

Patch hide | download patch | download mbox

diff --git a/meta/conf/machine/include/qemumips64.inc b/meta/conf/machine/include/qemumips64.inc
new file mode 100644
index 0000000..7ba2f94
--- /dev/null
+++ b/meta/conf/machine/include/qemumips64.inc
@@ -0,0 +1,11 @@ 
+#@DESCRIPTION: Common machine configuration for running an MIPS64 system under qemu emulation
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/tune-mips64.inc
+
+KERNEL_IMAGETYPE = "vmlinux"
+KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
+MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
diff --git a/meta/conf/machine/qemumips64.conf b/meta/conf/machine/qemumips64.conf
index b2c7998..1f2ee94 100644
--- a/meta/conf/machine/qemumips64.conf
+++ b/meta/conf/machine/qemumips64.conf
@@ -1,13 +1,5 @@ 
 #@TYPE: Machine
 #@NAME: mti-malta64-be MIPS64
-#@DESCRIPTION: mti-malta64-be
+#@DESCRIPTION: Machine configuration for running an MIPS64 system under qemu emulation
 
-require conf/machine/include/qemu.inc
-require conf/machine/include/tune-mips64.inc
-
-KERNEL_IMAGETYPE = "vmlinux"
-KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
-
-SERIAL_CONSOLE = "115200 ttyS0"
-
-MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
+require conf/machine/include/qemumips64.inc