All of lore.kernel.org
 help / color / mirror / Atom feed
From: wenzong fan <wenzong.fan@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] openssl: fix ptest issues
Date: Mon, 14 Sep 2015 10:30:37 +0800	[thread overview]
Message-ID: <55F6314D.8090502@windriver.com> (raw)
In-Reply-To: <1438591965-24099-1-git-send-email-wenzong.fan@windriver.com>

Ping ...

Thanks
Wenzong

On 08/03/2015 04:52 PM, wenzong.fan@windriver.com wrote:
> From: Wenzong Fan <wenzong.fan@windriver.com>
>
> * follow symbolic links while copying sources from test/*
> * install required target files to remove Make errors:
>
>    make[2]: *** No rule to make target 'xxx', needed by 'yyy'.
>
> * fix hardcode pathes:
>    /usr/lib -> ${libdir}, /usr/bin -> ${bindir}
>
> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
> ---
>   meta/recipes-connectivity/openssl/openssl.inc | 14 ++++++++++----
>   1 file changed, 10 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
> index 53dcfd9..8d62915 100644
> --- a/meta/recipes-connectivity/openssl/openssl.inc
> +++ b/meta/recipes-connectivity/openssl/openssl.inc
> @@ -191,12 +191,18 @@ do_install () {
>   }
>
>   do_install_ptest () {
> -	cp -r Makefile test ${D}${PTEST_PATH}
> +	cp -r -L Makefile.org Makefile test ${D}${PTEST_PATH}
> +	cp Configure config e_os.h ${D}${PTEST_PATH}
> +	cp -r -L include ${D}${PTEST_PATH}
> +	ln -sf ${base_libdir}/libcrypto.a ${D}${PTEST_PATH}
> +	ln -sf ${libdir}/libssl.a ${D}${PTEST_PATH}
> +	mkdir -p ${D}${PTEST_PATH}/crypto
> +	cp crypto/constant_time_locl.h ${D}${PTEST_PATH}/crypto
>   	cp -r certs ${D}${PTEST_PATH}
>   	mkdir -p ${D}${PTEST_PATH}/apps
> -	ln -sf /usr/lib/ssl/misc/CA.sh  ${D}${PTEST_PATH}/apps
> -	ln -sf /usr/lib/ssl/openssl.cnf ${D}${PTEST_PATH}/apps
> -	ln -sf /usr/bin/openssl         ${D}${PTEST_PATH}/apps
> +	ln -sf ${libdir}/ssl/misc/CA.sh  ${D}${PTEST_PATH}/apps
> +	ln -sf ${libdir}/ssl/openssl.cnf ${D}${PTEST_PATH}/apps
> +	ln -sf ${bindir}/openssl         ${D}${PTEST_PATH}/apps
>   	cp apps/server2.pem             ${D}${PTEST_PATH}/apps
>   	mkdir -p ${D}${PTEST_PATH}/util
>   	install util/opensslwrap.sh    ${D}${PTEST_PATH}/util
>


      reply	other threads:[~2015-09-14  2:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-03  8:52 [PATCH] openssl: fix ptest issues wenzong.fan
2015-09-14  2:30 ` wenzong fan [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=55F6314D.8090502@windriver.com \
    --to=wenzong.fan@windriver.com \
    --cc=openembedded-core@lists.openembedded.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.