diff options
author | Peter A. Bigot <pab@pabigot.com> | 2014-11-01 15:35:34 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-11 11:34:56 +0000 |
commit | 756cb160a7bd6d5c94f5f080b96f792ff756735a (patch) | |
tree | cc28afeff6f0782bf0141d70a91bce4a61412746 /meta | |
parent | 74d4a5cb908c08f5e76886923430f898b4d62015 (diff) | |
download | poky-756cb160a7bd6d5c94f5f080b96f792ff756735a.tar.gz |
bluez-hcidump: select provider as bluez4 or bluez5
bluez-hcidump was a separate package in bluez4, but was integrated into
bluez5.
(From OE-Core rev: 0dcaea0fcf38f0e382eda11e74ded1daeb98a8ac)
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/default-providers.inc | 1 | ||||
-rw-r--r-- | meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb | 2 | ||||
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index e15794f2a1..4dc42a7add 100644 --- a/meta/conf/distro/include/default-providers.inc +++ b/meta/conf/distro/include/default-providers.inc | |||
@@ -44,6 +44,7 @@ PREFERRED_PROVIDER_udev ?= "${@bb.utils.contains('DISTRO_FEATURES','systemd','sy | |||
44 | # There are issues with runtime packages and PREFERRED_PROVIDER, see YOCTO #5044 for details | 44 | # There are issues with runtime packages and PREFERRED_PROVIDER, see YOCTO #5044 for details |
45 | # on this rather strange entry. | 45 | # on this rather strange entry. |
46 | PREFERRED_PROVIDER_bluez4 ?= "bluez4" | 46 | PREFERRED_PROVIDER_bluez4 ?= "bluez4" |
47 | PREFERRED_PROVIDER_bluez-hcidump ?= "bluez-hcidump" | ||
47 | # Alternative is ltp-ddt in meta-oe: meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb | 48 | # Alternative is ltp-ddt in meta-oe: meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb |
48 | PREFERRED_PROVIDER_ltp ?= "ltp" | 49 | PREFERRED_PROVIDER_ltp ?= "ltp" |
49 | PREFERRED_PROVIDER_getopt ?= "util-linux-getopt" | 50 | PREFERRED_PROVIDER_getopt ?= "util-linux-getopt" |
diff --git a/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb b/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb index 5c1f4760a8..3950630a86 100644 --- a/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb +++ b/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb | |||
@@ -3,7 +3,9 @@ DESCRIPTION = "The hcidump tool reads raw HCI data coming from and going to a Bl | |||
3 | and displays the commands, events and data in a human-readable form." | 3 | and displays the commands, events and data in a human-readable form." |
4 | 4 | ||
5 | SECTION = "console" | 5 | SECTION = "console" |
6 | # hcidump was integrated into bluez5 | ||
6 | DEPENDS = "bluez4" | 7 | DEPENDS = "bluez4" |
8 | RCONFLICTS_${PN} = "bluez5" | ||
7 | LICENSE = "GPLv2+" | 9 | LICENSE = "GPLv2+" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ |
9 | file://src/hcidump.c;beginline=1;endline=23;md5=3bee3a162dff43a5be7470710b99fbcf" | 11 | file://src/hcidump.c;beginline=1;endline=23;md5=3bee3a162dff43a5be7470710b99fbcf" |
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 28c014fd66..f782528c86 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc | |||
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ | |||
7 | file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ | 7 | file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ |
8 | file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e" | 8 | file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e" |
9 | DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline" | 9 | DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline" |
10 | PROVIDES += "bluez-hcidump" | ||
11 | RPROVIDES_${PN} += "bluez-hcidump" | ||
10 | 12 | ||
11 | RCONFLICTS_${PN} = "bluez4" | 13 | RCONFLICTS_${PN} = "bluez4" |
12 | 14 | ||