summaryrefslogtreecommitdiff
path: root/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-standard.scc
blob: 14554da285c9c58499c29eb1e717e5da46b3bdcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# yocto-bsp-filename {{=machine}}-standard.scc
define KMACHINE {{=machine}}

define KARCH {{=qemuarch}}

{{ if qemuarch == "i386" or qemuarch == "x86_64": }}
include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
{{ if qemuarch == "arm": }}
include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard
{{ if qemuarch == "powerpc": }}
include bsp/qemu-ppc32/qemu-ppc32-standard
{{ if qemuarch == "mips": }}
include bsp/mti-malta32/mti-malta32-be-standard
{{ if qemuarch == "mips64": }}
include bsp/mti-malta64/mti-malta64-be-standard
{{ if need_new_kbranch == "y": }}
define KTYPE {{=new_kbranch}}
branch {{=machine}}

include {{=machine}}.scc