All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Barker <paul.barker@commagility.com>
To: Denys Dmytriyenko <denys@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH] ti-softhsmv2: Use target includes for zlib and openssl
Date: Wed, 20 Jan 2016 10:26:51 +0000	[thread overview]
Message-ID: <20160120102651.3cbda229@ku1404> (raw)
In-Reply-To: <20160119191301.GF4223@edge>

On Tue, 19 Jan 2016 14:13:01 -0500
Denys Dmytriyenko <denys@ti.com> wrote:

> On Tue, Jan 19, 2016 at 11:01:37AM -0800, Khem Raj wrote:
> > 
> > > On Jan 19, 2016, at 7:51 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.
> > > 
> > > 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..dd51309 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_DIR_TARGET}/usr \
> > > +    --with-openssl=${STAGING_DIR_TARGET}/usr \
> > > +    “
> > 
> > you know there is STAGING_EXECPREFIXDIR, may be better suited here ?
> 
> From bitbake.conf:
> 
> STAGING_EXECPREFIXDIR = "${STAGING_DIR_HOST}${exec_prefix}"
> 

I've looked at bitbake.conf more clearly now:

STAGING_DIR_HOST =   "${STAGING_DIR}/${MACHINE}"
STAGING_DIR_TARGET = "${STAGING_DIR}/${MACHINE}"

So it actually doesn't matter which of these is used.

I'll send a V2 using STAGING_EXECPREFIXDIR for both zlib and openssl.

Thanks,

-- 
Paul Barker
CommAgility Ltd


      reply	other threads:[~2016-01-20 10:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19 15:51 [PATCH] ti-softhsmv2: Use target includes for zlib and openssl Paul Barker
2016-01-19 19:01 ` Khem Raj
2016-01-19 19:13   ` Denys Dmytriyenko
2016-01-20 10:26     ` Paul Barker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160120102651.3cbda229@ku1404 \
    --to=paul.barker@commagility.com \
    --cc=denys@ti.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.