define KMACHINE {{=machine}}
define KTYPE standard
{{ if qemuarch == "i386": }}
define KARCH i386
{{ if qemuarch == "x86_64": }}
define KARCH x86_64
{{ if qemuarch == "arm": }}
define KARCH arm
{{ if qemuarch == "powerpc": }}
define KARCH powerpc
{{ if qemuarch == "mips": }}
define KARCH mips

{{ if qemuarch == "i386": }}
include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
{{ if 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 need_new_kbranch == "y": }}
branch {{=machine}}

include {{=machine}}.scc
