Create a separate variable for branch value and derive the value from PV
so AUH is able to upgrade the recipe.

Release Notes:
https://github.com/intel/ipp-crypto/releases/tag/ippcp_2021.11.1

Signed-off-by: Yogesh Tyagi <[email protected]>
---
 ...l-crypto-mb_2021.9.0.bb => intel-crypto-mb_2021.11.1.bb} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename recipes-oneapi/crypto/{intel-crypto-mb_2021.9.0.bb => 
intel-crypto-mb_2021.11.1.bb} (87%)

diff --git a/recipes-oneapi/crypto/intel-crypto-mb_2021.9.0.bb 
b/recipes-oneapi/crypto/intel-crypto-mb_2021.11.1.bb
similarity index 87%
rename from recipes-oneapi/crypto/intel-crypto-mb_2021.9.0.bb
rename to recipes-oneapi/crypto/intel-crypto-mb_2021.11.1.bb
index 58cc29f2..be72fd85 100644
--- a/recipes-oneapi/crypto/intel-crypto-mb_2021.9.0.bb
+++ b/recipes-oneapi/crypto/intel-crypto-mb_2021.11.1.bb
@@ -8,12 +8,14 @@ LICENSE = "Apache-2.0"
 
 LIC_FILES_CHKSUM = 
"file://../../../LICENSE;md5=e787af283468feca985d6b865d27d95b"
 
-SRC_URI = 
"git://github.com/intel/ipp-crypto;protocol=https;branch=ipp-crypto_2021_9_0 \
+IPP_BRANCH = "ipp-crypto_${@'_'.join(d.getVar('PV').rsplit('.')[-3:])}"
+
+SRC_URI = 
"git://github.com/intel/ipp-crypto;protocol=https;branch=${IPP_BRANCH} \
            
file://0001-CMakeLists.txt-exclude-host-system-headers.patch;striplevel=4 \
            file://0002-cmake-exclude-Yocto-build-flags.patch;striplevel=4 \
            
file://0001-crypto-mb-Make-sure-libs-are-installed-correctly.patch;striplevel=4 
\
            "
-SRCREV = "e9a6b5544382d6c0b2125c42f7adf5110cb29008"
+SRCREV = "d02611e34328898d16025467d3deeb7d62b6076b"
 
 S = "${WORKDIR}/git/sources/ippcp/crypto_mb"
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8255): 
https://lists.yoctoproject.org/g/meta-intel/message/8255
Mute This Topic: https://lists.yoctoproject.org/mt/104860277/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to