mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 21:23:04 +01:00
With the current regex expression, a machine that is not part of the compatible could match the regex expression. For example, consider the following COMPATIBLE_MACHINE: COMPATIBLE_MACHINE = "qemuarm|qemuarm64" A machine definition bringing in "qemuarm-foo" would match against the COMPATIBLE_MACHINE pattern above (see base.bbclass for implementation details). Fix this by matching the start and the end of the string. (From OE-Core rev: 63db2c6baadb4b9aa0c8ae82a497f30840b3b347) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
948 B
BlitzBasic
31 lines
948 B
BlitzBasic
KBRANCH ?= "v5.19/standard/tiny/base"
|
|
|
|
LINUX_KERNEL_TYPE = "tiny"
|
|
KCONFIG_MODE = "--allnoconfig"
|
|
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
LINUX_VERSION ?= "5.19.3"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
|
|
|
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
|
|
DEPENDS += "openssl-native util-linux-native"
|
|
|
|
KMETA = "kernel-meta"
|
|
KCONF_BSP_AUDIT_LEVEL = "2"
|
|
|
|
SRCREV_machine ?= "4d933456709d664a55fdda85304c08567265ad4d"
|
|
SRCREV_meta ?= "5eb0fa93f8490a962ff0c36c14d8def271d75128"
|
|
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
|
|
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.19;destsuffix=${KMETA}"
|
|
|
|
COMPATIBLE_MACHINE = "^(qemux86|qemux86-64|qemuarm64|qemuarm|qemuarmv5)$"
|
|
|
|
# Functionality flags
|
|
KERNEL_FEATURES = ""
|
|
|
|
KERNEL_DEVICETREE:qemuarmv5 = "versatile-pb.dtb"
|