aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend')
-rw-r--r--meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend b/meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend
new file mode 100644
index 000000000..2e97174f3
--- /dev/null
+++ b/meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend
@@ -0,0 +1,4 @@
+# If Bluetooth is asked in DISTRO_FEATURES, verify if Bluez 5 is also
+# explicitly specified. If it is not, fall back to BlueZ 4
+BLUEZ_CONFIG = "bluez='true',bluez='false',${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5', 'bluez4', d), '', d)}"
+PACKAGECONFIG[bluez] := "${BLUEZ_CONFIG}"