diff options
author | 2018-12-18 16:22:10 -0500 | |
---|---|---|
committer | 2018-12-18 16:22:10 -0500 | |
commit | 4091efd9ed80566bf9e3cbba6a414431462a4c27 (patch) | |
tree | b05c50d81785dc3ea75341341abe0e3ad2dba4e3 /recipes-platform | |
parent | 16cac4f041601038a32ae39d94e8bd835f2fff7e (diff) |
Disable btwilink by default on m3ulcb
Testing for CES has found the wilink BT on the M3+Kingfisher somewhat
unreliable. To disable it by default for now, add a demo platform
configuration hook to packagegroup-agl-demo-platform and use it to
pick up a modprobe configuration file to prevent btwilink from loading.
This addition is specific to the m3ulcb platform, and the variable
DEMO_ENABLE_BTWILINK can be used to over-ride the behavior by setting
it to "true" in local.conf or site.conf.
Change-Id: Ia645d9329594547f83601526e3f3fd5da5845b24
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-platform')
-rwxr-xr-x | recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb index 40e4d3c2..d7dddb7d 100755 --- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb @@ -65,6 +65,13 @@ MAPVIEWER = "${@bb.utils.contains("DISTRO_FEATURES", "agl-cluster-demo-support", DEMO_MAPS_LOCALE ?= "uk" DEMO_PRELOAD = "${@bb.utils.contains("DISTRO_FEATURES", "agl-demo-preload", " navigation-maps-${DEMO_MAPS_LOCALE} poiapp-api-key", "",d)}" +# Hook for demo platform configuration +# ATM, only used to disable btwilink module on M3ULCB + 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)}" + RDEPENDS_${PN}_append = " \ qtquickcontrols2-agl \ qtquickcontrols2-agl-style \ @@ -75,6 +82,5 @@ RDEPENDS_${PN}_append = " \ ${QTAGLEXTRAS} \ ${MAPVIEWER} \ ${DEMO_PRELOAD} \ + ${DEMO_PLATFORM_CONF} \ " - - |