Files
poky/meta/recipes-kernel/linux/linux-yocto-tiny_6.17.bb
Bruce Ashfield 8bd830e392 linux-yocto/6.17: fix qemuarm config audit warning
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: qemuarm: fix configuration audit warnings
    Date: Sat, 25 Oct 2025 00:03:25 -0400

    We drop options that were removed by this kernel commit:

    commit 70cb6ca58fddb02e269fe743ba75d53d577b5b1c
    Author: Eric Biggers <ebiggers@kernel.org>
    Date:   Sat Jul 12 16:22:58 2025 -0700

        lib/crypto: arm/sha1: Migrate optimized code into library

        Instead of exposing the arm-optimized SHA-1 code via arm-specific
        crypto_shash algorithms, instead just implement the sha1_blocks()
        library function.  This is much simpler, it makes the SHA-1 library
        functions be arm-optimized, and it fixes the longstanding issue where
        the arm-optimized SHA-1 code was disabled by default.  SHA-1 still
        remains available through crypto_shash, but individual architectures no
        longer need to handle it.

        To match sha1_blocks(), change the type of the nblocks parameter of the
        assembly functions from int to size_t.  The assembly functions actually
        already treated it as size_t.

        Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
        Link: https://lore.kernel.org/r/20250712232329.818226-8-ebiggers@kernel.org
        Signed-off-by: Eric Biggers <ebiggers@kernel.org>

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: ac82bfebde6614cbcf1d815d90d97668d2ead93d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00

34 lines
1.1 KiB
BlitzBasic

KBRANCH ?= "v6.17/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.17.inc
LINUX_VERSION ?= "6.17.5"
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 ?= "d76cb43db46c5d45e25df34484c87f5e545bf4c5"
SRCREV_meta ?= "8f5d87f8cae63175d9a7d6b8791864df15b327ec"
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.17;destsuffix=${KMETA};protocol=https"
COMPATIBLE_MACHINE = "^(qemux86|qemux86-64|qemuarm64|qemuarm|qemuarmv5)$"
# Functionality flags
KERNEL_FEATURES:append:qemuall = " cfg/virtio.scc cfg/fs/ext4.scc"
KERNEL_DEVICETREE:qemuarmv5 = "arm/versatile-pb.dtb"