external-toolchain-csl: handle packaging of gdbserver based on PREFERRED_PROVIDER
external-toolchain-csl: handle packaging of gdbserver based on PREFERRED_PROVIDER

Allow packaging independent copy of specific version of gdbserver with
external-toolchain-csl by setting PREFERRED_PROVIDER. E.g. for GPLv2
gdbserver, add these lines to your distro/local.conf:

PREFERRED_PROVIDER_gdbserver = "gdbserver"
PREFERRED_VERSION_gdbserver = "6.6"

Thanks to Ben Gardiner for providing valuable feedback.

Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>
(cherry picked from commit a47c14c83cf97a2c90ee50ec7212ec33bdafb58b)

Signed-off-by: Ben Gardiner <70df8feb3ef5e98f393abcbbb2227739b5f9dc64@nanometrics.ca>
Acked-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>
Signed-off-by: Tom Rini <4c3d5c8f8c21c27dd329bd585f481113514551fd@mentor.com>

buglabs/oe-buglabs,SIFTeam/openembedded,sledz/oe,mrchapp/arago-oe-dev,sampov2/audio-openembedded,sutajiokousagi/openembedded,BlackPole/bp-openembedded,nx111/openembeded_openpli2.1_nx111,buglabs/oe-buglabs,nx111/openembeded_openpli2.1_nx111,sutajiokousagi/openembedded,BlackPole/bp-openembedded,SIFTeam/openembedded,SIFTeam/openembedded,nx111/openembeded_openpli2.1_nx111,mrchapp/arago-oe-dev,dave-billin/overo-ui-moos-auv,sampov2/audio-openembedded,sledz/oe,nx111/openembeded_openpli2.1_nx111,sledz/oe,mrchapp/arago-oe-dev,sampov2/audio-openembedded,BlackPole/bp-openembedded,mrchapp/arago-oe-dev,buglabs/oe-buglabs,buglabs/oe-buglabs,sledz/oe,nx111/openembeded_openpli2.1_nx111,SIFTeam/openembedded,SIFTeam/openembedded,mrchapp/arago-oe-dev,BlackPole/bp-openembedded,dave-billin/overo-ui-moos-auv,nx111/openembeded_openpli2.1_nx111,sutajiokousagi/openembedded,dave-billin/overo-ui-moos-auv,SIFTeam/openembedded,BlackPole/bp-openembedded,dave-billin/overo-ui-moos-auv,sampov2/audio-openembedded,sledz/oe,sutajiokousagi/openembedded,dave-billin/overo-ui-moos-auv,dave-billin/overo-ui-moos-auv,buglabs/oe-buglabs,buglabs/oe-buglabs,BlackPole/bp-openembedded,nx111/openembeded_openpli2.1_nx111,BlackPole/bp-openembedded,SIFTeam/openembedded,mrchapp/arago-oe-dev,nx111/openembeded_openpli2.1_nx111,buglabs/oe-buglabs,sutajiokousagi/openembedded,dave-billin/overo-ui-moos-auv,sampov2/audio-openembedded,sampov2/audio-openembedded,sutajiokousagi/openembedded,mrchapp/arago-oe-dev,sledz/oe,sutajiokousagi/openembedded,buglabs/oe-buglabs,sledz/oe,sampov2/audio-openembedded