mirror of
https://git.yoctoproject.org/poky
synced 2026-02-23 01:49:40 +01:00
The existing 2.6.34 kernel tree uses _ where poky typically uses -. This is a historical artifact, since working with gnu Make and shells means avoiding - is wise. The opposite is true in Yocto. To avoid using the _ reserved character wherever possible we can simply remove it from the branch names in the new 2.6.37 kernel, but to keep the content stable in the 0.9 2.6.34 kernel, we map _ to - for the purposes of packaging. To further faciliate this switch, the branch names no longer need to be shortened in the KMACHINE mappings, but can be fully specified and the tools/processing adapt as required. This gives us the flexibility to map multiple boards to a single branch for building. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
34 lines
1.2 KiB
BlitzBasic
34 lines
1.2 KiB
BlitzBasic
inherit kernel
|
|
require linux-yocto.inc
|
|
|
|
KMACHINE_qemux86 = "yocto/standard/common_pc/base"
|
|
KMACHINE_qemux86-64 = "yocto/standard/common-pc-64"
|
|
KMACHINE_qemuppc = "yocto/standard/qemu-ppc32"
|
|
KMACHINE_qemumips = "yocto/standard/mti-malta32-be"
|
|
KMACHINE_qemuarm = "yocto/standard/arm-versatile-926ejs"
|
|
KMACHINE_atom-pc = "yocto/standard/common-pc/atom-pc"
|
|
KMACHINE_routerstationpro = "yocto/standard/routerstationpro"
|
|
KMACHINE_mpc8315e-rdb = "yocto/standard/fsl-mpc8315e-rdb"
|
|
KMACHINE_beagleboard = "yocto/standard/beagleboard"
|
|
|
|
LINUX_VERSION ?= "2.6.37"
|
|
LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
|
|
PR = "r14"
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
SRCREV_FORMAT = "meta_machine"
|
|
|
|
SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \
|
|
git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;noclone=1;branch=meta;name=meta"
|
|
|
|
COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)"
|
|
|
|
# Functionality flags
|
|
KERNEL_REVISION_CHECKING ?= "t"
|
|
KERNEL_FEATURES=features/netfilter
|
|
|
|
# extra tasks
|
|
addtask kernel_link_vmlinux after do_compile before do_install
|
|
addtask validate_branches before do_patch after do_kernel_checkout
|
|
|
|
require linux-tools.inc
|