diff mbox series

[kirkstone] ti-extras: Add support for extra kernel features for RT

Message ID 20231108072332.3433926-1-p-bhagat@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [kirkstone] ti-extras: Add support for extra kernel features for RT | expand

Commit Message

Paresh Bhagat Nov. 8, 2023, 7:23 a.m. UTC
Add support for ti-extras features for rt as it was added for non
rt kernel and u-boot earlier. It will also be accessible via the
TI_EXTRAS variable in the local.conf file.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
---
 .../recipes-kernel/linux/linux-ti-staging-rt_6.1.bb   |  3 +++
 meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc     | 11 +++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb
index a600630e..ac6a6e75 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb
@@ -7,4 +7,7 @@  FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
 BRANCH = "ti-rt-linux-6.1.y"
 
 SRCREV = "eda9974e8513cdd2c5cc20c3c6b851f9977acd4d"
+
+include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
+
 PV = "6.1.46+git${SRCPV}"
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc b/meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc
new file mode 100644
index 00000000..1fc40934
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc
@@ -0,0 +1,11 @@ 
+
+# Use different commit, repo and branch for TI extras build
+# This will have priority over generic rt path
+
+COMPATIBLE_MACHINE = "am62xx"
+
+BRANCH = "ti-rt-linux-6.1.y"
+BRANCH:tie-jailhouse = "ti-rt-linux-6.1.y-jailhouse"
+
+SRCREV = "685e77152461bd6b791500f717bec62d17c1b36d"
+SRCREV:tie-jailhouse = "a74088b40b4d27478a2af5c20cdc0b4ec8ed9470"