From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] fix host-openssl binary installation
Date: Wed, 17 Feb 2016 16:02:57 +0100 [thread overview]
Message-ID: <8737sr1ise.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1455705686-20822-1-git-send-email-matthew.shyu.amlogic@gmail.com> (Matthew Shyu's message of "Wed, 17 Feb 2016 18:41:26 +0800")
>>>>> "Matthew" == Matthew Shyu <matthew.shyu.amlogic@gmail.com> writes:
> From: Matthew Shyu <matthew.shyu@amlogic.com>
> The Configure script in openssl takes install_prefix from env by default
> $install_prefix= "$ENV{'INSTALL_PREFIX'}"
> However, the INSTALL_PREFIX points to *TARGET* folder instead of
> *HOST* folder.
> This is fixed by intentionally setting install_prefix to blank.
Sorry, I'm not following you here. Do you mean that you have exported
INSTALL_PREFIX=<something> in your environment outside Buildroot? We do
indeed pass INSTALL_PREFIX to make install when we install the target
version to staging/target, but I don't see the relation to the host
variant?
> Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
> ---
> package/openssl/openssl.mk | 1 +
> 1 file changed, 1 insertion(+)
> diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
> index b7498a7..c35e93f 100644
> --- a/package/openssl/openssl.mk
> +++ b/package/openssl/openssl.mk
> @@ -63,6 +63,7 @@ define HOST_OPENSSL_CONFIGURE_CMDS
> $(HOST_CONFIGURE_OPTS) \
> ./config \
> --prefix=$(HOST_DIR)/usr \
> + --install_prefix= \
> --openssldir=$(HOST_DIR)/etc/ssl \
> --libdir=/lib \
> shared \
> --
> 1.7.9.5
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2016-02-17 15:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 10:41 [Buildroot] [PATCH 1/1] fix host-openssl binary installation Matthew Shyu
2016-02-17 15:02 ` Peter Korsgaard [this message]
2016-02-18 1:05 ` matthew.amlogic shyu
2016-02-19 10:18 ` Peter Korsgaard
2016-02-19 10:33 ` matthew.amlogic shyu
2016-02-19 10:36 ` Peter Korsgaard
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=8737sr1ise.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox