mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 23:39:40 +01:00
Integrating the following commit(s) to linux-yocto/.:
1/1 [
Author: Mark Hatle
Email: mark.hatle@amd.com
Subject: arch/riscv/tunes: Implement RISC-V ISA selection
Date: Wed, 18 Jun 2025 18:20:08 -0500
You need to first clear (risc-isa-clear) the defaults, and then apply the
ISA components starting with the base ISA and extensions (riscv-isa-...).
Only ISA extensions available in TUNE_FEATURES are currently
implemented.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: 2080c8f215ca71d526c39a87d3307e4c65476a39)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
1.1 KiB
BlitzBasic
34 lines
1.1 KiB
BlitzBasic
KBRANCH ?= "v6.12/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.12.inc
|
|
|
|
LINUX_VERSION ?= "6.12.33"
|
|
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 ?= "897cf66d25d8a7290eeb899e27456f60fbf203ec"
|
|
SRCREV_meta ?= "d32aa55c8954b11e8e29627e82df6180b2efc4fd"
|
|
|
|
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.12;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"
|