qtconnectivity, qtsystems: fix bluetooth support
Generalize bluetooth support so it can be used not only with bluez4 but with bluez5 as well. Use EXTRA_QMAKEVARS_PRE to pass the packageconfig options to the do_configure task. https://jira.digi.com/browse/DEL-2147 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
0b07af3bef
commit
6a66656161
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (C) 2016 Digi International
|
||||
|
||||
inherit bluetooth
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
|
||||
PACKAGECONFIG[bluez] = "CONFIG+=OE_BLUEZ_ENABLED,,${BLUEZ}"
|
||||
|
||||
EXTRA_QMAKEVARS_PRE += "${EXTRA_OECONF}"
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (C) 2016 Digi International
|
||||
|
||||
inherit bluetooth
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
|
||||
PACKAGECONFIG[bluez] = "CONFIG+=OE_BLUEZ_ENABLED,,${BLUEZ}"
|
||||
|
||||
EXTRA_QMAKEVARS_PRE += "${EXTRA_OECONF}"
|
||||
Loading…
Reference in New Issue