1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 11:42:57 +00:00

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>
This commit is contained in:
Paul Barker
2016-01-20 20:04:26 +00:00
committed by Denys Dmytriyenko
parent 6efdb527f4
commit 63b3736c18

View File

@@ -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"