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

Arago Project git git at arago-project.org
Mon Apr 18 08:31:07 PDT 2016


Module: meta-ti
Branch: master
Commit: f7e2920ba3e5d493120d992b366fb0ad382af971
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=f7e2920ba3e5d493120d992b366fb0ad382af971

Author: Denys Dmytriyenko <denys at ti.com>
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.

Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb |    4 +---
 1 files changed, 1 insertions(+), 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 "



More information about the meta-ti mailing list