mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
9cf8501444
To avoid mapping machine names to kernel machine names in recipes,
we can define multiple KMACHINE names for a single in tree board.
This allows the tools to match a board description to multiple
different MACHINEs.
As a result, we can remove the explicit KMACHINE mappings from
the linux-yocto recipes and allow the KMACHINE=${MACHINE} default
to handle mappings. Individual recipes an bbappends can override
this as required.
(From OE-Core rev: d3dc05a4b808136876cb257a568737abfaceeadd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
991 B
BlitzBasic
33 lines
991 B
BlitzBasic
inherit kernel
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
KBRANCH = "standard/preempt-rt/base"
|
|
KBRANCH_qemuppc = "standard/preempt-rt/qemu-ppc32"
|
|
|
|
LINUX_VERSION ?= "3.2.18"
|
|
LINUX_KERNEL_TYPE = "preempt-rt"
|
|
|
|
KMETA = "meta"
|
|
|
|
SRCREV_machine ?= "fe2630b38159ea7b9cf977b5fed40a9917002087"
|
|
SRCREV_machine_qemuppc ?= "0259e5a3ef568c6979f2cb31280a43c55c784f4f"
|
|
SRCREV_meta ?= "0a18db9fc89a0e030e8c7b8d01fe03c5ca4197e3"
|
|
|
|
PR = "r1"
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
|
|
|
|
# Omit broken machines from COMPATIBLE_MACHINE
|
|
# qemuppc hangs at boot
|
|
# qemumips panics at boot
|
|
COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
|
|
|
|
# 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 recipes-kernel/linux/linux-tools.inc
|