]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libtool: respect VIRTUAL-RUNTIME_bash jansa/YOCTO-9217
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 20 Jun 2018 11:00:12 +0000 (11:00 +0000)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 20 Jun 2018 11:10:14 +0000 (11:10 +0000)
meta/conf/distro/include/default-providers.inc
meta/recipes-devtools/libtool/libtool_2.4.6.bb

index ddeff6ca453d01c32b9036738badabc02357f9b5..9aaae0dbaafdee8caed5037525503c551b5cc7fa 100644 (file)
@@ -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"
index b02620b4b41e75948d11c8fa86471f61ca59e3db..44a379dff2ac4bd6bec94dd32c0937d96143c6eb 100644 (file)
@@ -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.