mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
meta: Remove remnants of bluez4 support
bluez4 was removed from meta-oe 2 years ago. Simplfy the setup of the two level bluetooth and bluez4/bluez5 distro features by removing the bluez4/bluez5 distro features. This also removes the no longer required bluetooth class. (From OE-Core rev: dcf889e93401f7c4de0055d53271eacc3882eccc) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7a6b2ce603
commit
a9bbda96eb
|
|
@ -1,14 +0,0 @@
|
|||
# Avoid code duplication in bluetooth-dependent recipes.
|
||||
|
||||
# Define a variable that expands to the recipe (package) providing core
|
||||
# bluetooth support on the platform:
|
||||
# "" if bluetooth is not in DISTRO_FEATURES
|
||||
# else "bluez5" if bluez5 is in DISTRO_FEATURES
|
||||
# else "bluez4"
|
||||
|
||||
# Use this with:
|
||||
# inherit bluetooth
|
||||
# PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}
|
||||
# PACKAGECONFIG[bluez4] = "--enable-bluez4,--disable-bluez4,bluez4"
|
||||
|
||||
BLUEZ ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5', 'bluez4', d), '', d)}"
|
||||
|
|
@ -839,7 +839,7 @@ DISTRO_FEATURES_NATIVESDK ?= "x11"
|
|||
DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation"
|
||||
DISTRO_FEATURES_FILTER_NATIVESDK ?= "api-documentation"
|
||||
|
||||
DISTRO_FEATURES_BACKFILL = "pulseaudio sysvinit bluez5 gobject-introspection-data ldconfig"
|
||||
DISTRO_FEATURES_BACKFILL = "pulseaudio sysvinit gobject-introspection-data ldconfig"
|
||||
MACHINE_FEATURES_BACKFILL = "rtc qemu-usermode"
|
||||
|
||||
COMBINED_FEATURES = "${@oe.utils.set_intersect('DISTRO_FEATURES', 'MACHINE_FEATURES', d)}"
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ PREFERRED_PROVIDER_nativesdk-opkg ?= "nativesdk-opkg"
|
|||
PREFERRED_PROVIDER_console-tools ?= "kbd"
|
||||
PREFERRED_PROVIDER_gzip-native ?= "pigz-native"
|
||||
PREFERRED_PROVIDER_udev ?= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','eudev',d)}"
|
||||
PREFERRED_RPROVIDER_bluez-hcidump ?= "${@bb.utils.contains('DISTRO_FEATURES','bluetooth bluez5','bluez5','bluez-hcidump',d)}"
|
||||
# Alternative is ltp-ddt in meta-oe: meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
|
||||
PREFERRED_PROVIDER_ltp ?= "ltp"
|
||||
PREFERRED_PROVIDER_getopt ?= "util-linux-getopt"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
require bluez5.inc
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "bluez5"
|
||||
|
||||
SRC_URI[md5sum] = "8e35c67c81a55d3ad4c9f22280dae178"
|
||||
SRC_URI[sha256sum] = "5ffcaae18bbb6155f1591be8c24898dc12f062075a40b538b745bfd477481911"
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ LICENSE = "GPLv2"
|
|||
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
|
||||
file://src/main.c;beginline=1;endline=20;md5=486a279a6ab0c8d152bcda3a5b5edc36"
|
||||
|
||||
inherit autotools pkgconfig systemd update-rc.d bluetooth update-alternatives
|
||||
inherit autotools pkgconfig systemd update-rc.d update-alternatives
|
||||
|
||||
DEPENDS = "dbus glib-2.0 ppp readline"
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ PACKAGECONFIG ??= "wispr \
|
|||
|
||||
PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/ --with-tmpfilesdir=${sysconfdir}/tmpfiles.d/,--with-systemdunitdir='' --with-tmpfilesdir=''"
|
||||
PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant, wpa-supplicant"
|
||||
PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, ${BLUEZ}, ${BLUEZ}"
|
||||
PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5, bluez5"
|
||||
PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono"
|
||||
PACKAGECONFIG[tist] = "--enable-tist,--disable-tist,"
|
||||
PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ SRC_URI = "https://www.tcpdump.org/release/${BP}.tar.gz \
|
|||
SRC_URI[md5sum] = "dffd65cb14406ab9841f421732eb0f33"
|
||||
SRC_URI[sha256sum] = "2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019"
|
||||
|
||||
inherit autotools binconfig-disabled pkgconfig bluetooth
|
||||
inherit autotools binconfig-disabled pkgconfig
|
||||
|
||||
BINCONFIG = "${bindir}/pcap-config"
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ EXTRA_OECONF = " \
|
|||
"
|
||||
EXTRA_AUTORECONF += "--exclude=aclocal"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
|
||||
"
|
||||
PACKAGECONFIG[bluez5] = "--enable-bluetooth,--disable-bluetooth,bluez5"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
|
|||
file://src/near.h;beginline=1;endline=20;md5=358e4deefef251a4761e1ffacc965d13 \
|
||||
"
|
||||
|
||||
inherit autotools pkgconfig systemd update-rc.d bluetooth
|
||||
inherit autotools pkgconfig systemd update-rc.d
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
||||
|
||||
|
|
@ -40,7 +40,7 @@ RDEPENDS_${PN} = "dbus"
|
|||
|
||||
# Bluez & Wifi are not mandatory except for handover
|
||||
RRECOMMENDS_${PN} = "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \
|
||||
"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ LICENSE = "GPLv2"
|
|||
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
|
||||
file://src/ofono.h;beginline=1;endline=20;md5=3ce17d5978ef3445def265b98899c2ee"
|
||||
|
||||
inherit autotools pkgconfig update-rc.d systemd bluetooth gobject-introspection-data
|
||||
inherit autotools pkgconfig update-rc.d systemd gobject-introspection-data
|
||||
|
||||
DEPENDS = "dbus glib-2.0 udev mobile-broadband-provider-info ell"
|
||||
|
||||
|
|
@ -17,7 +17,7 @@ PACKAGECONFIG ??= "\
|
|||
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir="
|
||||
PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, ${BLUEZ}"
|
||||
PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5"
|
||||
|
||||
EXTRA_OECONF += "--enable-test --enable-external-ell"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ PR = "r83"
|
|||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit packagegroup
|
||||
inherit bluetooth
|
||||
|
||||
PROVIDES = "${PACKAGES}"
|
||||
PACKAGES = ' \
|
||||
|
|
@ -199,8 +198,7 @@ RRECOMMENDS_packagegroup-base-pcmcia = "\
|
|||
|
||||
SUMMARY_packagegroup-base-bluetooth = "Bluetooth support"
|
||||
RDEPENDS_packagegroup-base-bluetooth = "\
|
||||
${BLUEZ} \
|
||||
${@bb.utils.contains('COMBINED_FEATURES', 'alsa', bb.utils.contains('BLUEZ', 'bluez4', 'libasound-module-bluez', '', d), '',d)} \
|
||||
bluez5 \
|
||||
"
|
||||
|
||||
RRECOMMENDS_packagegroup-base-bluetooth = "\
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
|
|||
RDEPENDS_${PN}-ptest = "bash make"
|
||||
|
||||
require qemu-targets.inc
|
||||
inherit pkgconfig bluetooth ptest
|
||||
inherit pkgconfig ptest
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
|
||||
file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f"
|
||||
|
|
@ -148,7 +148,7 @@ PACKAGECONFIG[lzo] = "--enable-lzo,--disable-lzo,lzo"
|
|||
PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl"
|
||||
PACKAGECONFIG[gnutls] = "--enable-gnutls,--disable-gnutls,gnutls"
|
||||
PACKAGECONFIG[bzip2] = "--enable-bzip2,--disable-bzip2,bzip2"
|
||||
PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}"
|
||||
PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez5"
|
||||
PACKAGECONFIG[libiscsi] = "--enable-libiscsi,--disable-libiscsi"
|
||||
PACKAGECONFIG[kvm] = "--enable-kvm,--disable-kvm"
|
||||
PACKAGECONFIG[virglrenderer] = "--enable-virglrenderer,--disable-virglrenderer,virglrenderer"
|
||||
|
|
|
|||
|
|
@ -20,13 +20,13 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
|
|||
SRC_URI[md5sum] = "daa51acc0c7c696221ec03cf0b30a7af"
|
||||
SRC_URI[sha256sum] = "7c4d2ffeef4f7d1cdc71062ca78d1130eb52f947c2fca82f59f6a1183bfa1e1c"
|
||||
|
||||
inherit autotools ptest bluetooth
|
||||
inherit autotools ptest
|
||||
|
||||
PACKAGECONFIG_class-target ??= "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,${BLUEZ}"
|
||||
PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
|
||||
PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
|
||||
|
||||
EXTRA_OECONF += "--enable-mpers=no"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
|
|||
|
||||
DEPENDS += "gstreamer1.0-plugins-base"
|
||||
|
||||
inherit gettext bluetooth gobject-introspection
|
||||
inherit gettext gobject-introspection
|
||||
|
||||
PACKAGECONFIG ??= " \
|
||||
${GSTREAMER_ORC} \
|
||||
|
|
@ -35,7 +35,7 @@ PACKAGECONFIG ??= " \
|
|||
# not add GL dependencies here, since these are taken care of in -base.
|
||||
|
||||
PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass"
|
||||
PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}"
|
||||
PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez5"
|
||||
PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2"
|
||||
PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
|
||||
PACKAGECONFIG[dash] = "--enable-dash,--disable-dash,libxml2"
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ DEPENDS = "libatomic-ops libsndfile1 libtool intltool-native"
|
|||
DEPENDS += "udev alsa-lib glib-2.0"
|
||||
DEPENDS += "speexdsp libxml-parser-perl-native libcap"
|
||||
|
||||
inherit autotools bash-completion pkgconfig useradd gettext perlnative bluetooth systemd manpages gsettings
|
||||
inherit autotools bash-completion pkgconfig useradd gettext perlnative systemd manpages gsettings
|
||||
|
||||
# *.desktop rules wont be generated during configure and build will fail
|
||||
# if using --disable-nls
|
||||
|
|
@ -98,7 +98,7 @@ EXTRA_OECONF += "--without-fftw"
|
|||
# very good anyway, better alternatives exist (such as the webrtc canceller).
|
||||
EXTRA_OECONF += "--disable-adrian-aec"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', '3g', 'ofono', '', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd x11', d)} \
|
||||
|
|
@ -106,7 +106,6 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ
|
|||
"
|
||||
|
||||
PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
|
||||
PACKAGECONFIG[bluez4] = "--enable-bluez4,--disable-bluez4,bluez4 sbc"
|
||||
PACKAGECONFIG[bluez5] = "--enable-bluez5,--disable-bluez5,bluez5 sbc"
|
||||
PACKAGECONFIG[gconf] = "--enable-gconf,--disable-gconf,gconf"
|
||||
PACKAGECONFIG[gsettings] = "--enable-gsettings,--disable-gsettings,glib-2.0-native glib-2.0"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user