summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-mainline_5.4.bb
blob: 9a546261a8f54e7d27fc7e68dfd75c11f8031cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-5.4:"

LINUX_VERSION ?= "5.4.154"
PV = "${LINUX_VERSION}+git${SRCPV}"

SRCREV_machine = "dd7439734dc9ea17674a9c36f0bfa725e7d10736"
SRCREV_machine:use-head-next = "${AUTOREV}"

KCONFIG_MODE="--alldefconfig"

KBRANCH = "toradex_5.4.y"

require recipes-kernel/linux/linux-toradex-mainline.inc

# Don't delete /older/ in the link as /older/ also contains the newest file and we have a stable
# link
SRC_URI:append:preempt-rt = " \
    ${KERNELORG_MIRROR}/linux/kernel/projects/rt/5.4/older/patch-5.4.154-rt65.patch.xz;name=rt-patch \
    file://preempt-rt.scc \
    file://preempt-rt-less-latency.scc \
"
SRC_URI[rt-patch.md5sum] = "1626836fc6bbff42e463c6a07bfc79b7"
SRC_URI[rt-patch.sha256sum] = "899037547ab272cbb835400633e9c96812c1172845b68479ececc3901eaf6c6d"

# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS)
KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}"

KBUILD_DEFCONFIG ?= "toradex-imx_v6_v7_defconfig"
KBUILD_DEFCONFIG:apalis-tk1 ?= "tegra_defconfig"

export DTC_FLAGS = "-@"