kernel: disable media devices with kernel fragments
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 13 Dec 2025 23:25:19 +0000 (18:25 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 23 Jan 2026 16:44:47 +0000 (11:44 -0500)
Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
raspberrypi/recipes-kernel/linux/files/disable-video.cfg [new file with mode: 0644]
raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.%.bbappend

diff --git a/raspberrypi/recipes-kernel/linux/files/disable-video.cfg b/raspberrypi/recipes-kernel/linux/files/disable-video.cfg
new file mode 100644 (file)
index 0000000..203bde1
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_MEDIA_SUPPORT=n
index 98c6c63..a5ba053 100644 (file)
@@ -1,3 +1,5 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+
 LINUX_RPI_BRANCH = "rpi-6.12.y-hvmpd"
 LINUX_VERSION = "6.12.61"
 
@@ -8,4 +10,5 @@ SRC_URI = " \
     git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${LINUX_RPI_KMETA_BRANCH};destsuffix=${KMETA} \
     file://powersave.cfg \
     file://android-drivers.cfg \
+    file://disable-video.cfg \
 "