Disable Kingfisher onboard Bluetooth when using h3ulcb 21/23321/3
authorScott Murray <scott.murray@konsulko.com>
Wed, 11 Dec 2019 19:40:00 +0000 (19:40 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 12 Dec 2019 16:53:42 +0000 (16:53 +0000)
Extend the current default disabling of the Kingfisher onboard
Bluetooth when using m3ulcb to include h3ulcb as well.

Bug-AGL: SPEC-3043

Change-Id: Ie1d5d39fcd23ad690dac8d2481152fb17ee79da5
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
recipes-connectivity/btwilink-disable-conf/btwilink-disable-conf_1.0.bb
recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb

index 9170a84..0b49a02 100644 (file)
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 SRC_URI = "file://btwilink-disable.conf"
 
-COMPATIBLE_MACHINE = "m3ulcb"
+COMPATIBLE_MACHINE = "m3ulcb|h3ulcb"
 
 do_compile[noexec] = "1"
 
index 7917af9..2f2804b 100644 (file)
@@ -75,11 +75,11 @@ DEMO_PRELOAD_MAPS = "${@bb.utils.contains("PREFERRED_RPROVIDER_virtual/navigatio
 DEMO_PRELOAD = "${@bb.utils.contains("DISTRO_FEATURES", "agl-demo-preload", " ${DEMO_PRELOAD_MAPS} poiapp-api-key", "",d)}"
 
 # Hook for demo platform configuration
-# ATM, only used to disable btwilink module on M3ULCB + Kingfisher by default,
+# 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_m3ulcb = "${@bb.utils.contains("DEMO_ENABLE_BTWILINK", "true", "", " btwilink-disable-conf", d)}"
+DEMO_PLATFORM_CONF_append_ulcb = "${@bb.utils.contains("DEMO_ENABLE_BTWILINK", "true", "", " btwilink-disable-conf", d)}"
 
 RDEPENDS_${PN}_append = " \
     qtquickcontrols2-agl \