Files
poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb
Bruce Ashfield 921e67bc82 linux-yocto: streamline support for multiple upstream repo types
In order to support repositories of various types (with or without
meta data, branched, pristine, custom, etc) information about the
type of processing that is required was passed to the processing
phases via variables.

The combination of variables involved in coordinating the processing
creates a learning curve and overly complicates recipe extensions.

With minor tweaks to the kern-tools, adding flexibility and keying
off the existence of the meta branch it is possible to remove all
of the variables that were added to support different repository
types.

(From OE-Core rev: 06e5f45c8f38925cd5902a3a3f436f5e9451dd16)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-08 16:06:42 +01:00

44 lines
1.5 KiB
BlitzBasic

inherit kernel
require recipes-kernel/linux/linux-yocto.inc
KBRANCH = "yocto/standard/base"
KBRANCH_qemux86 = "yocto/standard/common-pc/base"
KBRANCH_qemux86-64 = "yocto/standard/common-pc-64/base"
KBRANCH_qemuppc = "yocto/standard/qemu-ppc32"
KBRANCH_qemumips = "yocto/standard/mti-malta32-be"
KBRANCH_qemuarm = "yocto/standard/arm-versatile-926ejs"
# Temporary until 3.0 kernel tree is updated with machine mappings
KMACHINE_qemux86 = "common-pc"
KMACHINE_qemux86-64 = "common-pc-64"
KMACHINE_qemuppc = "qemu-ppc32"
KMACHINE_qemumips = "mti-malta32-be"
KMACHINE_qemuarm = "arm-versatile-926ejs"
KMETA = "meta"
LINUX_VERSION ?= "3.0.24"
SRCREV_machine_qemuarm ?= "62bbe1d7a0e5c1200a99dabca889a52c9417b96b"
SRCREV_machine_qemumips ?= "66de88919f24f1e590a48dae6de752a68fed2353"
SRCREV_machine_qemuppc ?= "7528f1d06ef5665eed8c1498f62d5403b82bbbd6"
SRCREV_machine_qemux86 ?= "f153b0eb8264dc1e69f59d4c9173619feb4d5bd9"
SRCREV_machine_qemux86-64 ?= "aac580659dc0ce083f250fb05abf82e58d7f4531"
SRCREV_machine ?= "da7c40006b08916ff3a3db104def82aaf9ac2716"
SRCREV_meta ?= "34e0d2b4b4e9778b31f9ea99ca43f0dc71a7ee23"
PR = "r4"
PV = "${LINUX_VERSION}+git${SRCPV}"
SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)"
# Functionality flags
KERNEL_FEATURES = "features/netfilter"
KERNEL_FEATURES_append = " features/taskstats"
KERNEL_FEATURES_append_qemux86 = " cfg/sound"
KERNEL_FEATURES_append_qemux86-64 = " cfg/sound"
require linux-tools.inc