From: Richard Tollerton Date: Wed, 5 Nov 2014 21:26:16 +0000 (-0600) Subject: default-providers.inc: define VIRTUAL-RUNTIME_getopt X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32019 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=218d5eb990011442d3b15e8fbb3e682af6bcbe92;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git default-providers.inc: define VIRTUAL-RUNTIME_getopt getopt can be provided by either util-linux or busybox. Allow the distro to control which implementation is used, and default it to util-linux. Signed-off-by: Richard Tollerton Acked-by: Ken Sharp Acked-by: Ben Shelton Signed-off-by: Ross Burton --- diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index a1167fdfbf3..e15794f2a16 100644 --- a/meta/conf/distro/include/default-providers.inc +++ b/meta/conf/distro/include/default-providers.inc @@ -21,6 +21,7 @@ PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel" VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-opkg" VIRTUAL-RUNTIME_apm ?= "apm" VIRTUAL-RUNTIME_alsa-state ?= "alsa-state" +VIRTUAL-RUNTIME_getopt ?= "util-linux-getopt" # # Default recipe providers @@ -45,3 +46,4 @@ PREFERRED_PROVIDER_udev ?= "${@bb.utils.contains('DISTRO_FEATURES','systemd','sy PREFERRED_PROVIDER_bluez4 ?= "bluez4" # 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"