38 lines
923 B
BlitzBasic
38 lines
923 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-5.15"
|
|
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"
|
|
|
|
KERNEL_VERSION_SANITY_SKIP="1"
|
|
LINUX_VERSION = "5.15"
|
|
LINUX_VERSION_EXTENSION = "-netmodule"
|
|
|
|
SRCREV="15e5ac9e46205b7cf80efd72f957c83a76c84d67"
|
|
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
COMPATIBLE_MACHINE = "netmodule-hw*"
|
|
|
|
KERNEL_FEATURES ??= "\
|
|
initrd.scc \
|
|
wifi-ti.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
|