mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 13:13:02 +01:00
Integrating the following commit(s) to linux-yocto/6.6:
1/1 [
Author: Mark Brown
Email: broonie@kernel.org
Subject: kselftest: Add a ksft_perror() helper
Date: Thu, 28 Sep 2023 16:38:11 +0200
The standard library perror() function provides a convenient way to print
an error message based on the current errno but this doesn't play nicely
with KTAP output. Provide a helper which does an equivalent thing in a KTAP
compatible format.
nolibc doesn't have a strerror() and adding the table of strings required
doesn't seem like a good fit for what it's trying to do so when we're using
that only print the errno.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: 3d747dabd7bf59b653730f245d134931d143f60f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
1.0 KiB
BlitzBasic
34 lines
1.0 KiB
BlitzBasic
KBRANCH ?= "v6.6/standard/tiny/base"
|
|
|
|
LINUX_KERNEL_TYPE = "tiny"
|
|
KCONFIG_MODE = "--allnoconfig"
|
|
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
# CVE exclusions
|
|
include recipes-kernel/linux/cve-exclusion_6.6.inc
|
|
|
|
LINUX_VERSION ?= "6.6.29"
|
|
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 ?= "7c76aad68f6d1247e72f024f1e0291067a404f8d"
|
|
SRCREV_meta ?= "a78c74a3510067017dda1926f88bd914f0a053b3"
|
|
|
|
PV = "${LINUX_VERSION}+git"
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \
|
|
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https"
|
|
|
|
COMPATIBLE_MACHINE = "^(qemux86|qemux86-64|qemuarm64|qemuarm|qemuarmv5)$"
|
|
|
|
# Functionality flags
|
|
KERNEL_FEATURES = ""
|
|
|
|
KERNEL_DEVICETREE:qemuarmv5 = "arm/versatile-pb.dtb"
|