diff options
author | Paul Barker <paul.barker@commagility.com> | 2016-01-20 20:04:26 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2016-01-22 00:51:46 -0500 |
commit | 63b3736c18c418ef2cc5dd7b1533b49f6d65b8fb (patch) | |
tree | c3719e2fb5abf2b10573f3b2de3e597a1ef4989c /recipes-ti | |
parent | 6efdb527f41be5f9c819c3998c1c28ee0c633375 (diff) | |
download | meta-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.bb | 5 |
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" | |||
21 | CFLAGS += " -mno-unaligned-access" | 21 | CFLAGS += " -mno-unaligned-access" |
22 | CPPFLAGS += " -mno-unaligned-access" | 22 | CPPFLAGS += " -mno-unaligned-access" |
23 | 23 | ||
24 | EXTRA_OECONF += "--with-zlib=${STAGING_DIR_HOST}/usr" | 24 | EXTRA_OECONF += " \ |
25 | --with-zlib=${STAGING_EXECPREFIXDIR} \ | ||
26 | --with-openssl=${STAGING_EXECPREFIXDIR} \ | ||
27 | " | ||
25 | 28 | ||
26 | INITSCRIPT_NAME = "softhsm-daemon.sh" | 29 | INITSCRIPT_NAME = "softhsm-daemon.sh" |
27 | INITSCRIPT_PARAMS = "defaults 10" | 30 | INITSCRIPT_PARAMS = "defaults 10" |