mirror of
https://git.yoctoproject.org/poky
synced 2026-02-22 01:19:41 +01:00
This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
39 lines
1.2 KiB
BlitzBasic
39 lines
1.2 KiB
BlitzBasic
inherit kernel
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
KMACHINE = "common-pc"
|
|
KMACHINE_qemux86 = "common_pc"
|
|
KMACHINE_qemux86-64 = "common_pc_64"
|
|
|
|
LINUX_VERSION ?= "2.6.34"
|
|
LINUX_KERNEL_TYPE = "preempt_rt"
|
|
LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE_EXTENSION}"
|
|
|
|
KMETA = wrs_meta
|
|
KBRANCH = ${KMACHINE}-${LINUX_KERNEL_TYPE}
|
|
|
|
SRCREV_machine_qemux86 = "439602eb6acd53d9beb8493710310214fc7bd749"
|
|
SRCREV_machine_qemux86-64 = "3c84c45ad3c3592f9c7ff4076de9bee417cd322e"
|
|
SRCREV_machine = "439602eb6acd53d9beb8493710310214fc7bd749"
|
|
SRCREV_meta = "e1f85a470934a0cf6abde5d95533e74501822c6b"
|
|
|
|
PR = "r3"
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
COMPATIBLE_MACHINE = "(qemux86|qemux86-64)"
|
|
|
|
# this performs a fixup on the SRCREV for new/undefined BSPs
|
|
python __anonymous () {
|
|
import bb, re, string
|
|
|
|
kerntype = string.replace(bb.data.expand("${LINUX_KERNEL_TYPE}", d), "_", "-")
|
|
d.setVar("LINUX_KERNEL_TYPE_EXTENSION", kerntype)
|
|
}
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/linux-yocto-2.6.34.git;protocol=git;nocheckout=1;branch=${KBRANCH},wrs_meta;name=machine,meta"
|
|
|
|
# Functionality flags
|
|
KERNEL_FEATURES=features/netfilter
|
|
|
|
require recipes-kernel/linux/linux-tools.inc
|