34 lines
874 B
BlitzBasic
34 lines
874 B
BlitzBasic
SUMMARY = "Recipe based on linux-yocto to build the NRSW kernel"
|
|
|
|
inherit kernel
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
require kernel-modules-autoload.inc
|
|
|
|
GIT_BRANCH = "nmlinux-kernel-upgrade"
|
|
GIT_OPTIONS = "protocol=ssh;user=gitea;branch=${GIT_BRANCH};nocheckout=1"
|
|
SRC_URI = "\
|
|
git://git.netmodule.intranet/NRSW/nmlinux-kernel.git;${GIT_OPTIONS} \
|
|
file://defconfig \
|
|
file://features;type=kmeta;destsuffix=features \
|
|
"
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
|
|
|
LINUX_VERSION ?= "5.10.80"
|
|
LINUX_VERSION_EXTENSION = "-netmodule"
|
|
|
|
SRCREV="85f5f38b6ced73852a213bba35fb83102b7aa167"
|
|
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
COMPATIBLE_MACHINE = "netmodule-hw*"
|
|
|
|
KERNEL_FEATURES ?= "initrd.scc"
|
|
|
|
|
|
# This is set by linux-yocto but we need to remove it in
|
|
# order to automatically update the SRCREV
|
|
unset RECIPE_NO_UPDATE_REASON
|