aboutsummaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-navigation/gpsd/gpsd_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-navigation/gpsd/gpsd_%.bbappend')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-navigation/gpsd/gpsd_%.bbappend9
1 files changed, 8 insertions, 1 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-navigation/gpsd/gpsd_%.bbappend b/dynamic-layers/openembedded-layer/recipes-navigation/gpsd/gpsd_%.bbappend
index ec85ae2..5b3a849 100644
--- a/dynamic-layers/openembedded-layer/recipes-navigation/gpsd/gpsd_%.bbappend
+++ b/dynamic-layers/openembedded-layer/recipes-navigation/gpsd/gpsd_%.bbappend
@@ -1,4 +1,11 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
+# We can not use PV here, it will be expanded too early (to the '%' value).
+# Thus use a temporal variable which substituted later. Note the difference
+# between immediate expansion (to get THISDIR) and regular expansion.
+#
+# The order of these assignments is also important
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-${gpsPV}:${THISDIR}/${BPN}:"
+gpsPV = "${PV}"
SRC_URI += " \
file://0001-Introduce-Qualcomm-PDS-service-support.patch \