summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2015-04-28 22:19:59 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-07-24 13:42:15 -0300
commit7f0d7901adf6ba17663179bdcfa054632de65b5c (patch)
treeb9ea49c19d960cb06fed3b2472d08424de44e4cc
parent3f6edf3e2c3d129df55fb0b4e1f322cac3a38aac (diff)
downloadtizen-distro-7f0d7901adf6ba17663179bdcfa054632de65b5c.tar.gz
tizen-distro-7f0d7901adf6ba17663179bdcfa054632de65b5c.tar.bz2
tizen-distro-7f0d7901adf6ba17663179bdcfa054632de65b5c.zip
qtconnectivity: improve PACKAGECONFIG handling
(From meta-qt5 rev: 5a67ecd3d782c3622f2405e4562261070f50f5e2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--meta-qt5/recipes-qt/qt5/qtconnectivity.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-qt5/recipes-qt/qt5/qtconnectivity.inc b/meta-qt5/recipes-qt/qt5/qtconnectivity.inc
index 10dcc220c4..ab8d31e5b0 100644
--- a/meta-qt5/recipes-qt/qt5/qtconnectivity.inc
+++ b/meta-qt5/recipes-qt/qt5/qtconnectivity.inc
@@ -3,14 +3,13 @@ require qt5.inc
DEPENDS += "qtbase qtdeclarative"
PACKAGECONFIG ??= ""
-PACKAGECONFIG[bluez4] = ",,bluez4"
+PACKAGECONFIG[bluez4] = "OE_BLUEZ_ENABLED,,bluez4"
do_configure_prepend() {
+ export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}"
# disable bluez test if it isn't enabled by PACKAGECONFIG
sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro
}
-EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'bluez4', 'CONFIG+=OE_BLUEZ_ENABLED', '', d)}"
-
LICENSE += "| GPL-2.0"
LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"