Files
meta-riscv/recipes-kernel/linux/linux-nezha-dev.bb
Trevor Woerner 067e92b602 linux-nezha-dev: point to branch with defconfig
One of the other branches of Samuel Holland's kernel tree for the nezha
includes everything the current branch includes plus a defconfig. Using this
branch will keep our defconfig inline with the author's changes.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-01-29 10:44:25 -08:00

33 lines
1.1 KiB
BlitzBasic

require recipes-kernel/linux/linux-mainline-common.inc
FILESEXTRAPATHS:prepend = "${FILE_DIRNAME}/linux-nezha:"
SUMMARY = "Nezha dev kernel recipe"
SRCREV_meta ?= "b7fc5d5cecaad5d97164bac8db5b5ee72f563bb0"
SRCREV_machine ?= "ca67838d84af4c9f85d06311c9e98e1adf46308f"
FORK ?= "smaeul"
BRANCH ?= "riscv/d1-wip"
KMETA = "kernel-meta"
KBUILD_DEFCONFIG = "nezha_defconfig"
# It is necessary to add to SRC_URI link to the 'yocto-kernel-cache' due to
# override of the original SRC_URI:
# "do_kernel_metadata: Check the SRC_URI for meta-data repositories or
# directories that may be missing"
SRC_URI = " \
git://github.com/${FORK}/linux.git;name=machine;protocol=https;branch=${BRANCH} \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=master;destsuffix=${KMETA} \
"
LINUX_VERSION ?= "6.1.0"
LINUX_VERSION_EXTENSION:append = "-nezha"
KERNEL_FEATURES += "features/cgroups/cgroups.cfg"
KERNEL_FEATURES += "ktypes/standard/standard.cfg"
# using out-of-tree
#KBUILD_DEFCONFIG = "nezha_defconfig"
COMPATIBLE_MACHINE = "(nezha-allwinner-d1)"
KERNEL_VERSION_SANITY_SKIP="1"