diff options
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc')
-rw-r--r-- | scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc | 27 |
1 files changed, 27 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 new file mode 100644 index 0000000000..04a36203d9 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc | |||
@@ -0,0 +1,27 @@ | |||
1 | define KMACHINE {{=machine}} | ||
2 | define KTYPE standard | ||
3 | {{ if qemuarch == "i386": }} | ||
4 | define KARCH i386 | ||
5 | {{ if qemuarch == "x86_64": }} | ||
6 | define KARCH x86_64 | ||
7 | {{ if qemuarch == "arm": }} | ||
8 | define KARCH arm | ||
9 | {{ if qemuarch == "powerpc": }} | ||
10 | define KARCH powerpc | ||
11 | {{ if qemuarch == "mips": }} | ||
12 | define KARCH mips | ||
13 | |||
14 | {{ if qemuarch == "i386": }} | ||
15 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
16 | {{ if qemuarch == "x86_64": }} | ||
17 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
18 | {{ if qemuarch == "arm": }} | ||
19 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard | ||
20 | {{ if qemuarch == "powerpc": }} | ||
21 | include bsp/qemu-ppc32/qemu-ppc32-standard | ||
22 | {{ if qemuarch == "mips": }} | ||
23 | include bsp/mti-malta32/mti-malta32-be-standard | ||
24 | {{ if need_new_kbranch == "y": }} | ||
25 | branch {{=machine}} | ||
26 | |||
27 | include {{=machine}}.scc | ||