Remove Kingfisher btwilink disabling 49/30249/2
authorScott Murray <scott.murray@konsulko.com>
Thu, 5 Sep 2024 19:25:20 +0000 (15:25 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 6 Sep 2024 11:24:49 +0000 (11:24 +0000)
Remove DEMO_ENABLE_BTWILINK hook and associated conf file recipe used
to make using the btwilink driver an explicit opt-in, as the driver
has been removed from the meta-rcar Kingfisher BSP layer in its new
scarthgap-v5.9.4 branch in favor of the mainline kernel driver.
Since the Kingfisher is not a primary demo platform at this point,
leaving it to default to its onboard Bluetooth support seems
reasonable versus trying to update this scheme.

Bug-AGL: SPEC-5191, SPEC-5214

Change-Id: Iece5d2671ab36f4191d950bfa50e320f35dbef3b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30249
ci-image-boot-test: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
recipes-connectivity/btwilink-disable-conf/btwilink-disable-conf_1.0.bb [deleted file]
recipes-connectivity/btwilink-disable-conf/files/btwilink-disable.conf [deleted file]
recipes-platform/packagegroups/packagegroup-agl-demo.bb

diff --git a/recipes-connectivity/btwilink-disable-conf/btwilink-disable-conf_1.0.bb b/recipes-connectivity/btwilink-disable-conf/btwilink-disable-conf_1.0.bb
deleted file mode 100644 (file)
index 0b49a02..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-SUMMARY = "btwilink module disabling modprobe configuration"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-
-SRC_URI = "file://btwilink-disable.conf"
-
-COMPATIBLE_MACHINE = "m3ulcb|h3ulcb"
-
-do_compile[noexec] = "1"
-
-do_install() {
-    install -d ${D}${sysconfdir}/modprobe.d
-    install -m 0644 ${WORKDIR}/btwilink-disable.conf ${D}${sysconfdir}/modprobe.d
-}
diff --git a/recipes-connectivity/btwilink-disable-conf/files/btwilink-disable.conf b/recipes-connectivity/btwilink-disable-conf/files/btwilink-disable.conf
deleted file mode 100644 (file)
index 8d28f62..0000000
+++ /dev/null
@@ -1 +0,0 @@
-install btwilink /bin/false
index 424ea91..78ed857 100644 (file)
@@ -9,13 +9,6 @@ PACKAGES = "\
     packagegroup-agl-demo \
     "
 
-# Hook for demo platform configuration
-# ATM, only used to disable btwilink module on [MH]3ULCB + Kingfisher by default,
-# setting DEMO_ENABLE_BTWILINK to "true" in local.conf / site.conf re-enables.
-DEMO_ENABLE_BTWILINK ?= ""
-DEMO_PLATFORM_CONF = ""
-DEMO_PLATFORM_CONF:append:ulcb = "${@bb.utils.contains("DEMO_ENABLE_BTWILINK", "true", "", " btwilink-disable-conf", d)}"
-
 # fonts
 TTF_FONTS = " \
     ttf-bitstream-vera \
@@ -35,6 +28,5 @@ RDEPENDS:${PN} += " \
     linux-firmware-ralink \
     iproute2 \
     pre-install-music-data \
-    ${DEMO_PLATFORM_CONF} \
     ${TTF_FONTS} \
     "