ti-softhsmv2: Use target includes for zlib and openssl
PATCH v2 1/1 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]>
--- recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
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"
Signature · 1 line
1.9.1
Quoted 7 lines · Paul Barker
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_EXECPREFIXDIRwe can support changes toexec_prefix.
this looks good
Quoted 24 lines
Signed-off-by Paul Barker <[email protected]>---
recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++-1 file changed, 4 insertions(+), 1 deletion(-)recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +0
-0@@ -21,7 +21,10 @@ S = "${WORKDIR}/git"CFLAGS += " -mno-unaligned-access"
CPPFLAGS += " -mno-unaligned-access"recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +4
-1-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"
--
1.9.1