diff options
author | Ross Burton <ross.burton@intel.com> | 2012-06-20 12:27:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-21 12:53:49 +0100 |
commit | be2ce372863ef56a33ad4e4d4ddeec22873a6b8b (patch) | |
tree | 47be929d995c3d347bc087bc836e1708f21956db /meta/recipes-connectivity/connman | |
parent | ed328572c7c286ecc2b27bb89eb8d795eda9bb8c (diff) | |
download | openembedded-core-be2ce372863ef56a33ad4e4d4ddeec22873a6b8b.tar.gz openembedded-core-be2ce372863ef56a33ad4e4d4ddeec22873a6b8b.tar.bz2 openembedded-core-be2ce372863ef56a33ad4e4d4ddeec22873a6b8b.zip |
connman: add compat RPROVIDES for older packaging
wifi, bluetooth and 3g used to be plugins so were packaged separately, but not
anymore.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index 7a1061571b..7215f2564b 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc @@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \ ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ " -INC_PR = "r7" +INC_PR = "r8" TIST = "--enable-tist" TIST_powerpc = "" @@ -74,13 +74,26 @@ do_install_append() { rmdir ${D}${libdir}/connman/scripts } +# These used to be plugins, but now they are core +RPROVIDES_${PN} = "\ + connman-plugin-loopback \ + connman-plugin-ethernet \ + ${@base_contains('DISTRO_FEATURES', 'bluetooth','connman-plugin-bluetooth', '', d)} \ + ${@base_contains('DISTRO_FEATURES', 'wifi','connman-plugin-wifi', '', d)} \ + ${@base_contains('DISTRO_FEATURES', '3g','connman-plugin-ofono', '', d)} \ + " + +RDEPENDS_${PN} = "\ + ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4', '', d)} \ + ${@base_contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \ + ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ + " + PACKAGES_DYNAMIC = "${PN}-plugin-*" python populate_packages_prepend() { depmap = dict( pppd="ppp", - wifi="wpa-supplicant", - bluetooth="bluez4", - ofono="ofono" ) + ) packages = [] multilib_prefix = (d.getVar("MLPREFIX", True) or "") hook = lambda file,pkg,b,c,d:packages.append((file,pkg)) |