diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-04-03 14:41:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-05 22:54:30 +0100 |
commit | 3b56472ad96150720a87cba2cb43d49f37dc4d33 (patch) | |
tree | 07c2f55c037ae43cb9e225efc4d64ca7129bdf7d | |
parent | 00e2984deb14cc8d3ccf7cfbbddd63934ff89954 (diff) | |
download | poky-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.scc | 7 |
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}} | |||
2 | define KTYPE standard | 2 | define KTYPE standard |
3 | define KARCH {{=qemuarch}} | 3 | define KARCH {{=qemuarch}} |
4 | 4 | ||
5 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} | ||
5 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | 6 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} |
7 | {{ if qemuarch == "arm": }} | ||
8 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard | ||
9 | {{ if qemuarch == "powerpc": }} | ||
10 | include bsp/qemu-ppc32/qemu-ppc32-standard | ||
11 | {{ if qemuarch == "mips": }} | ||
12 | include bsp/mti-malta32/mti-malta32-be-standard | ||
6 | {{ if need_new_kbranch == "y": }} | 13 | {{ if need_new_kbranch == "y": }} |
7 | branch {{=machine}} | 14 | branch {{=machine}} |
8 | 15 | ||