summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-04-03 14:41:22 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-05 22:54:30 +0100
commit3b56472ad96150720a87cba2cb43d49f37dc4d33 (patch)
tree07c2f55c037ae43cb9e225efc4d64ca7129bdf7d
parent00e2984deb14cc8d3ccf7cfbbddd63934ff89954 (diff)
downloadpoky-3b56472ad96150720a87cba2cb43d49f37dc4d33.tar.gz
yocto-bsp: use specific bsp metadata for qemu machines
For the qemu-based BSPs, use bsp metadata that's guaranteed to boot in qemu. (From meta-yocto rev: e274a2e66c26489a4da895194eb6e7a9c1476a73) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc
index 1cd976b275..0e20023764 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc
@@ -2,7 +2,14 @@ define KMACHINE {{=machine}}
2define KTYPE standard 2define KTYPE standard
3define KARCH {{=qemuarch}} 3define KARCH {{=qemuarch}}
4 4
5{{ if qemuarch == "i386" or qemuarch == "x86_64": }}
5include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} 6include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
7{{ if qemuarch == "arm": }}
8include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard
9{{ if qemuarch == "powerpc": }}
10include bsp/qemu-ppc32/qemu-ppc32-standard
11{{ if qemuarch == "mips": }}
12include bsp/mti-malta32/mti-malta32-be-standard
6{{ if need_new_kbranch == "y": }} 13{{ if need_new_kbranch == "y": }}
7branch {{=machine}} 14branch {{=machine}}
8 15