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

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

Details

Message ID 51F5EB0C.3010507@cn.fujitsu.com
State New
Headers show

Commit Message

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

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

Patch hide | download patch | download mbox

diff --git a/meta/conf/machine/include/qemuarm.inc b/meta/conf/machine/include/qemuarm.inc
new file mode 100644
index 0000000..366a52a
--- /dev/null
+++ b/meta/conf/machine/include/qemuarm.inc
@@ -0,0 +1,10 @@ 
+#@DESCRIPTION: Common machine configuration for versatile 926ejs.
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/tune-arm926ejs.inc
+#require conf/machine/include/tune-arm1136jf-s.inc
+
+KERNEL_IMAGETYPE = "zImage"
+
+SERIAL_CONSOLE = "115200 ttyAMA0"
+
diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
index d07084b..bc6287a 100644
--- a/meta/conf/machine/qemuarm.conf
+++ b/meta/conf/machine/qemuarm.conf
@@ -1,12 +1,6 @@ 
 #@TYPE: Machine
 #@NAME: arm_versatile_926ejs
-#@DESCRIPTION: arm_versatile_926ejs
+#@DESCRIPTION: Machine configuration for versatile 926ejs.
 
-require conf/machine/include/qemu.inc
-require conf/machine/include/tune-arm926ejs.inc
-#require conf/machine/include/tune-arm1136jf-s.inc
-
-KERNEL_IMAGETYPE = "zImage"
-
-SERIAL_CONSOLE = "115200 ttyAMA0"
+require conf/machine/include/qemuarm.inc