Paul Barker : ti-softhsmv2: Use target includes for zlib and openssl
Module: meta-ti Branch: fido Commit: 80ad03680a5758a2d0db462cb98552a669b5ca06 URL: http://arago-project.org/git/meta-ti.git?a=commit;h=80ad03680a5758a2d0db462cb98552a669b5ca06
Author: Paul Barker <[email protected]> Date: Wed Jan 20 20:04:26 2016 +0000
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 <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
---
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +4 -1
@@ -21,7 +21,10 @@ S = "${WORKDIR}/git" CFLAGS += " -mno-unaligned-access" CPPFLAGS += " -mno-unaligned-access" -EXTRA_OECONF += "--with-zlib=${STAGING_DIR_HOST}/usr" +EXTRA_OECONF += " \ + --with-zlib=${STAGING_EXECPREFIXDIR} \ + --with-openssl=${STAGING_EXECPREFIXDIR} \ + " INITSCRIPT_NAME = "softhsm-daemon.sh" INITSCRIPT_PARAMS = "defaults 10"