diff options
Diffstat (limited to 'meta/recipes-connectivity/bluez5')
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 28 | ||||
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5_5.45.bb | 2 |
2 files changed, 25 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 5fc49f3c72..f267c6626d 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc | |||
@@ -12,13 +12,35 @@ RPROVIDES_${PN} += "bluez-hcidump" | |||
12 | 12 | ||
13 | RCONFLICTS_${PN} = "bluez4" | 13 | RCONFLICTS_${PN} = "bluez4" |
14 | 14 | ||
15 | PACKAGECONFIG ??= "obex-profiles readline ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 15 | PACKAGECONFIG ??= "obex-profiles \ |
16 | readline \ | ||
17 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | ||
18 | a2dp-profiles \ | ||
19 | avrcp-profiles \ | ||
20 | network-profiles \ | ||
21 | hid-profiles \ | ||
22 | hog-profiles \ | ||
23 | tools \ | ||
24 | deprecated \ | ||
25 | " | ||
16 | PACKAGECONFIG[obex-profiles] = "--enable-obex,--disable-obex,libical" | 26 | PACKAGECONFIG[obex-profiles] = "--enable-obex,--disable-obex,libical" |
17 | PACKAGECONFIG[readline] = "--enable-client,--disable-client,readline," | 27 | PACKAGECONFIG[readline] = "--enable-client,--disable-client,readline," |
18 | PACKAGECONFIG[testing] = "--enable-testing,--disable-testing" | 28 | PACKAGECONFIG[testing] = "--enable-testing,--disable-testing" |
19 | PACKAGECONFIG[midi] = "--enable-midi,--disable-midi,alsa-lib" | 29 | PACKAGECONFIG[midi] = "--enable-midi,--disable-midi,alsa-lib" |
20 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd" | 30 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd" |
21 | PACKAGECONFIG[cups] = "--enable-cups,--disable-cups,,cups" | 31 | PACKAGECONFIG[cups] = "--enable-cups,--disable-cups,,cups" |
32 | PACKAGECONFIG[nfc] = "--enable-nfc,--disable-nfc" | ||
33 | PACKAGECONFIG[sap-profiles] = "--enable-sap,--disable-sap" | ||
34 | PACKAGECONFIG[a2dp-profiles] = "--enable-a2dp,--disable-a2dp" | ||
35 | PACKAGECONFIG[avrcp-profiles] = "--enable-avrcp,--disable-avrcp" | ||
36 | PACKAGECONFIG[network-profiles] = "--enable-network,--disable-network" | ||
37 | PACKAGECONFIG[hid-profiles] = "--enable-hid,--disable-hid" | ||
38 | PACKAGECONFIG[hog-profiles] = "--enable-hog,--disable-hog" | ||
39 | PACKAGECONFIG[health-profiles] = "--enable-health,--disable-health" | ||
40 | PACKAGECONFIG[sixaxis] = "--enable-sixaxis,--disable-sixaxis" | ||
41 | PACKAGECONFIG[tools] = "--enable-tools,--disable-tools" | ||
42 | PACKAGECONFIG[threads] = "--enable-threads,--disable-threads" | ||
43 | PACKAGECONFIG[deprecated] = "--enable-deprecated,--disable-deprecated" | ||
22 | 44 | ||
23 | SRC_URI = "\ | 45 | SRC_URI = "\ |
24 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ | 46 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ |
@@ -33,8 +55,6 @@ S = "${WORKDIR}/bluez-${PV}" | |||
33 | inherit autotools pkgconfig systemd update-rc.d distro_features_check ptest | 55 | inherit autotools pkgconfig systemd update-rc.d distro_features_check ptest |
34 | 56 | ||
35 | EXTRA_OECONF = "\ | 57 | EXTRA_OECONF = "\ |
36 | --enable-tools \ | ||
37 | --enable-deprecated \ | ||
38 | --enable-test \ | 58 | --enable-test \ |
39 | --enable-datafiles \ | 59 | --enable-datafiles \ |
40 | --enable-library \ | 60 | --enable-library \ |
@@ -48,7 +68,7 @@ NOINST_TOOLS_BT ??= "" | |||
48 | NOINST_TOOLS = " \ | 68 | NOINST_TOOLS = " \ |
49 | ${@bb.utils.contains('PACKAGECONFIG', 'readline', '${NOINST_TOOLS_READLINE}', '', d)} \ | 69 | ${@bb.utils.contains('PACKAGECONFIG', 'readline', '${NOINST_TOOLS_READLINE}', '', d)} \ |
50 | ${@bb.utils.contains('PACKAGECONFIG', 'testing', '${NOINST_TOOLS_TESTING}', '', d)} \ | 70 | ${@bb.utils.contains('PACKAGECONFIG', 'testing', '${NOINST_TOOLS_TESTING}', '', d)} \ |
51 | ${NOINST_TOOLS_BT} \ | 71 | ${@bb.utils.contains('PACKAGECONFIG', 'tools', '${NOINST_TOOLS_BT}', '', d)} \ |
52 | " | 72 | " |
53 | 73 | ||
54 | do_install_append() { | 74 | do_install_append() { |
diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.45.bb b/meta/recipes-connectivity/bluez5/bluez5_5.45.bb index ee5e88fc9f..d5f516cb13 100644 --- a/meta/recipes-connectivity/bluez5/bluez5_5.45.bb +++ b/meta/recipes-connectivity/bluez5/bluez5_5.45.bb | |||
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "4cacb00703a6bc149cb09502257d321597d43952374a16f3558766ffa8 | |||
8 | # noinst programs in Makefile.tools that are conditional on READLINE | 8 | # noinst programs in Makefile.tools that are conditional on READLINE |
9 | # support | 9 | # support |
10 | NOINST_TOOLS_READLINE ?= " \ | 10 | NOINST_TOOLS_READLINE ?= " \ |
11 | attrib/gatttool \ | 11 | ${@bb.utils.contains('PACKAGECONFIG', 'deprecated', 'attrib/gatttool', '', d)} \ |
12 | tools/obex-client-tool \ | 12 | tools/obex-client-tool \ |
13 | tools/obex-server-tool \ | 13 | tools/obex-server-tool \ |
14 | tools/bluetooth-player \ | 14 | tools/bluetooth-player \ |