Skip to contentSkip to conversation

Denys Dmytriyenko : ti-softhsmv2: stop altering and expanding SELECTED_OPTIMIZATION variable

PATCH Arago Project git 1 participant 1 message Apr 18, 2016

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: master
Commit: f7e2920ba3e5d493120d992b366fb0ad382af971
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=f7e2920ba3e5d493120d992b366fb0ad382af971
Author: Denys Dmytriyenko <[email protected]>
Date:   Mon Apr 18 21:28:48 2016 +0000

ti-softhsmv2: stop altering and expanding SELECTED_OPTIMIZATION variable

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 files changed, 1 insertions(+), 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 "