[RFC,4/6] qemumips.conf: provide a common qemumips machine configuration

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

Details

Message ID 51F5EA6E.40406@cn.fujitsu.com
State New
Headers show

Commit Message

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

Although, we can modify the meta/conf/machine/qemumips.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/qemumips.inc |   11 +++++++++++
 meta/conf/machine/qemumips.conf        |   12 ++----------
 2 files changed, 13 insertions(+), 10 deletions(-)
 create mode 100644 meta/conf/machine/include/qemumips.inc

Patch hide | download patch | download mbox

diff --git a/meta/conf/machine/include/qemumips.inc b/meta/conf/machine/include/qemumips.inc
new file mode 100644
index 0000000..9b884a5
--- /dev/null
+++ b/meta/conf/machine/include/qemumips.inc
@@ -0,0 +1,11 @@ 
+#@DESCRIPTION: Common machine configuration for running an MIPS system under qemu emulation
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/tune-mips32.inc
+
+KERNEL_IMAGETYPE = "vmlinux"
+KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
+MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
diff --git a/meta/conf/machine/qemumips.conf b/meta/conf/machine/qemumips.conf
index ce1c419..b874f7b 100644
--- a/meta/conf/machine/qemumips.conf
+++ b/meta/conf/machine/qemumips.conf
@@ -1,13 +1,5 @@ 
 #@TYPE: Machine
 #@NAME: mti_malta32_be MIPS
-#@DESCRIPTION: mti_malta32_be
+#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
 
-require conf/machine/include/qemu.inc
-require conf/machine/include/tune-mips32.inc
-
-KERNEL_IMAGETYPE = "vmlinux"
-KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
-
-SERIAL_CONSOLE = "115200 ttyS0"
-
-MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
+require conf/machine/include/qemumips.inc