summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2018-06-20 11:00:12 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2018-06-20 11:10:14 +0000
commit9ee0d23d43b4add9d381048ea8499bb250f7e34e (patch)
treecdaa4da92d69e6f5f6a3c89f163e6540555ea74b
parent91b432dc3a183e6b2cbe825d3eec69302a61ea5f (diff)
downloadopenembedded-core-contrib-jansa/YOCTO-9217.tar.gz
openembedded-core-contrib-jansa/YOCTO-9217.tar.bz2
openembedded-core-contrib-jansa/YOCTO-9217.zip
libtool: respect VIRTUAL-RUNTIME_bashjansa/YOCTO-9217
-rw-r--r--meta/conf/distro/include/default-providers.inc1
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.4.6.bb4
2 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index ddeff6ca45..9aaae0dbaa 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -55,3 +55,4 @@ PREFERRED_PROVIDER_pkgconfig-native ?= "pkgconfig-native"
PREFERRED_RPROVIDER_initd-functions ?= "initscripts"
#PREFERRED_PROVIDER_bash ?= "busybox"
PREFERRED_RPROVIDER_bash ?= "busybox"
+VIRTUAL-RUNTIME_bash = "busybox"
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.6.bb b/meta/recipes-devtools/libtool/libtool_2.4.6.bb
index b02620b4b4..44a379dff2 100644
--- a/meta/recipes-devtools/libtool/libtool_2.4.6.bb
+++ b/meta/recipes-devtools/libtool/libtool_2.4.6.bb
@@ -1,6 +1,8 @@
require libtool-${PV}.inc
-RDEPENDS_${PN} += "bash"
+VIRTUAL-RUNTIME_bash ?= "bash"
+RDEPENDS_${PN}_append_class-target = " ${VIRTUAL-RUNTIME_bash}"
+RDEPENDS_${PN}_remove = "bash"
#
# We want the results of libtool-cross preserved - don't stage anything ourselves.