summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-connectivity/bluez5/bluez5_%.bbappend4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-connectivity/bluez5/bluez5_%.bbappend b/recipes-connectivity/bluez5/bluez5_%.bbappend
index 19ff2f2b8..59787fcec 100644
--- a/recipes-connectivity/bluez5/bluez5_%.bbappend
+++ b/recipes-connectivity/bluez5/bluez5_%.bbappend
@@ -1,5 +1,7 @@
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+APPLY_v522 = "${@str('no' if '${PV}' != '5.22' else 'yes')}"
+
SRC_URI_append = "\
- file://0001_fix_compile_issue_when_using_in_c++.patch;rev="fd0783c8bc524bc9b26514aad1f85814" \
+ file://0001_fix_compile_issue_when_using_in_c++.patch;apply=${APPLY_v522} \
"