Skip to contentSkip to conversation

ti-softhsmv2: stop altering and expanding SELECTED_OPTIMIZATION variable

PATCH New Denys Dmytriyenko 1 participant 1 message Apr 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-softhsmv2: stop altering and expanding SELECTED_OPTIMIZATION variable

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.

---
 recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +1 -3
index a863c3a..ea2eb3f 100644
@@ -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 "
Signature · 1 line
2.2.0