From: Denys Dmytriyenko <[email protected]>

This var now contains staging paths and by expanding it early, sstate ends up
churning the package for each machine built.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb 
b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
index a863c3a..ea2eb3f 100644
--- a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
+++ b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
@@ -15,6 +15,7 @@ SRC_URI = 
"git://git.ti.com/keystone-linux/ti-softhsmv2.git;protocol=git;branch=
 #Following commit corresponds to tag DEV.SOFTHSM-01.03.00.04
 SRCREV = "c2688afb9373309751e640088705cb739997665d"
 PV = "1.3.0.4"
+PR = "r1"
 
 S = "${WORKDIR}/git"
 
@@ -31,9 +32,6 @@ INITSCRIPT_PARAMS = "defaults 10"
 
 inherit update-rc.d
 
-SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", 
True).replace("-O2", "-O3")}"
-SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", 
True).replace("-ggdb2", "")}"
-
 FILES_${PN} += "${libdir}/softhsm/lib*.so.* ${mntdir}/*"
 FILES_${PN}-dbg += "${libdir}/softhsm/.debug"
 FILES_${PN}-staticdev += "${libdir}/softhsm/*.a "
-- 
2.2.0

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to