summaryrefslogtreecommitdiffstats
path: root/recipes-ti
diff options
context:
space:
mode:
authorPaul Barker <paul.barker@commagility.com>2016-01-20 20:04:26 +0000
committerDenys Dmytriyenko <denys@ti.com>2016-01-22 00:51:46 -0500
commit63b3736c18c418ef2cc5dd7b1533b49f6d65b8fb (patch)
treec3719e2fb5abf2b10573f3b2de3e597a1ef4989c /recipes-ti
parent6efdb527f41be5f9c819c3998c1c28ee0c633375 (diff)
downloadmeta-ti-63b3736c18c418ef2cc5dd7b1533b49f6d65b8fb.tar.gz
ti-softhsmv2: Use target includes for zlib and openssl
ti-softhsmv2 needs to look at the target include directories instead of the host include directories for zlib and openssl header files. By using STAGING_EXECPREFIXDIR we can support changes to exec_prefix. Signed-off-by: Paul Barker <paul.barker@commagility.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti')
-rw-r--r--recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
index c1e16545..3143acd5 100644
--- a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
+++ b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
@@ -21,7 +21,10 @@ S = "${WORKDIR}/git"
21CFLAGS += " -mno-unaligned-access" 21CFLAGS += " -mno-unaligned-access"
22CPPFLAGS += " -mno-unaligned-access" 22CPPFLAGS += " -mno-unaligned-access"
23 23
24EXTRA_OECONF += "--with-zlib=${STAGING_DIR_HOST}/usr" 24EXTRA_OECONF += " \
25 --with-zlib=${STAGING_EXECPREFIXDIR} \
26 --with-openssl=${STAGING_EXECPREFIXDIR} \
27 "
25 28
26INITSCRIPT_NAME = "softhsm-daemon.sh" 29INITSCRIPT_NAME = "softhsm-daemon.sh"
27INITSCRIPT_PARAMS = "defaults 10" 30INITSCRIPT_PARAMS = "defaults 10"