[RFC,3/6] qemuppc.conf: provide a common qemuppc machine configuration

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

Details

Message ID 51F5EA27.6010106@cn.fujitsu.com
State New
Headers show

Commit Message

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

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

Patch hide | download patch | download mbox

diff --git a/meta/conf/machine/include/qemuppc.inc b/meta/conf/machine/include/qemuppc.inc
new file mode 100644
index 0000000..4e6e16e
--- /dev/null
+++ b/meta/conf/machine/include/qemuppc.inc
@@ -0,0 +1,9 @@ 
+#@DESCRIPTION: Common machine configuration for running an PPC system under qemu emulation
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/tune-ppc603e.inc
+
+KERNEL_IMAGETYPE = "vmlinux"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
diff --git a/meta/conf/machine/qemuppc.conf b/meta/conf/machine/qemuppc.conf
index 48eecb7..0752aa7 100644
--- a/meta/conf/machine/qemuppc.conf
+++ b/meta/conf/machine/qemuppc.conf
@@ -2,10 +2,4 @@ 
 #@NAME: qemu PPC Emulator setup
 #@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
 
-require conf/machine/include/qemu.inc
-require conf/machine/include/tune-ppc603e.inc
-
-KERNEL_IMAGETYPE = "vmlinux"
-
-SERIAL_CONSOLE = "115200 ttyS0"
-
+require conf/machine/include/qemuppc.inc