diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/providers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py index 8617251ca3..db944ae48c 100644 --- a/bitbake/lib/bb/providers.py +++ b/bitbake/lib/bb/providers.py @@ -224,6 +224,8 @@ def _filterProviders(providers, item, cfgData, dataCache): continue eligible.remove(fn) eligible = [fn] + eligible + # sort eligible according to their DEFAULT_PREFERENCE + eligible.sort(lambda a, b: dataCache.pkg_dp[b] - dataCache.pkg_dp[a]) return eligible |