[meta-gplv2,1/2] layer.conf: Set elfutils version correctly

Submitted by Richard Purdie on Aug. 19, 2021, 5 p.m. | Patch ID: 180119

Details

Message ID 20210819170044.45851-1-richard.purdie@linuxfoundation.org
State New
Headers show

Commit Message

Richard Purdie Aug. 19, 2021, 5 p.m.
We need to set PREFERRED_VERSION for elfutils or the wrong one will be used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 conf/layer.conf | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/conf/layer.conf b/conf/layer.conf
index 3abe6b5..b0915d4 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -18,5 +18,6 @@  LAYERSERIES_COMPAT_gplv2 = "honister"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
 
+PREFERRED_VERSION_elfutils = "${@['', '0.148']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}"
 PREFERRED_VERSION_shared-mime-info = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}"
 PREFERRED_VERSION_shared-mime-info-native = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}"