All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] ti-softhsmv2: Use target includes for zlib and openssl
@ 2016-01-20 14:04 Paul Barker
  2016-01-20 18:43 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Barker @ 2016-01-20 14:04 UTC (permalink / raw)
  To: meta-ti

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>
---
 recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
index c1e1654..3143acd 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"
 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"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH V2] ti-softhsmv2: Use target includes for zlib and openssl
  2016-01-20 14:04 [PATCH V2] ti-softhsmv2: Use target includes for zlib and openssl Paul Barker
@ 2016-01-20 18:43 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2016-01-20 18:43 UTC (permalink / raw)
  To: Paul Barker; +Cc: meta-ti

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]


> On Jan 20, 2016, at 6:04 AM, Paul Barker <paul.barker@commagility.com> wrote:
> 
> 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.
> 

this looks good

> Signed-off-by: Paul Barker <paul.barker@commagility.com>
> ---
> recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
> index c1e1654..3143acd 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"
> 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"
> --
> 1.9.1
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-20 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20 14:04 [PATCH V2] ti-softhsmv2: Use target includes for zlib and openssl Paul Barker
2016-01-20 18:43 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.