diff options
Diffstat (limited to 'meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb')
-rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb new file mode 100644 index 00000000..adc10a01 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb | |||
@@ -0,0 +1,44 @@ | |||
1 | SECTION = "kernel" | ||
2 | SUMMARY = "Linux kernel for TI devices" | ||
3 | LICENSE = "GPL-2.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
5 | |||
6 | inherit ti-secdev | ||
7 | inherit kernel | ||
8 | |||
9 | DEFAULT_PREFERENCE = "-1" | ||
10 | |||
11 | require recipes-kernel/linux/setup-defconfig.inc | ||
12 | require recipes-kernel/linux/ti-kernel.inc | ||
13 | include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''} | ||
14 | include ${@ 'recipes-kernel/linux/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''} | ||
15 | |||
16 | DEPENDS += "gmp-native libmpc-native" | ||
17 | |||
18 | # Look in the generic major.minor directory for files | ||
19 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:" | ||
20 | |||
21 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \ | ||
22 | ${EXTRA_DTC_ARGS}" | ||
23 | |||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | BRANCH ?= "ti-linux-6.6.y" | ||
27 | |||
28 | SRCREV ?= "ffc253263a1375a65fa6c9f62a893e9767fbebfa" | ||
29 | PV = "6.6.0+git${SRCPV}" | ||
30 | |||
31 | # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild | ||
32 | MACHINE_KERNEL_PR:append = "b" | ||
33 | PR = "${MACHINE_KERNEL_PR}" | ||
34 | |||
35 | KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git" | ||
36 | KERNEL_GIT_PROTOCOL = "https" | ||
37 | SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \ | ||
38 | file://defconfig" | ||
39 | |||
40 | # Special configuration for remoteproc/rpmsg IPC modules | ||
41 | module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample" | ||
42 | module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus" | ||
43 | module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus" | ||
44 | KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc" | ||