From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] botan: fix build with mips64el-ctng_n32-linux-gnu toolchain
Date: Tue, 14 Oct 2014 23:25:27 +0200 [thread overview]
Message-ID: <543D94C7.2070100@mind.be> (raw)
In-Reply-To: <1413305543-32388-1-git-send-email-francois.perrad@gadz.org>
On 14/10/14 18:52, Francois Perrad wrote:
> set --cpu only with "mips"
>
> see http://autobuild.buildroot.org/results/5dc/5dc907c0334d3a3b7abff41eef4e025c1f29a655/build-end.log
>
I don't think you're doing the right thing here. Botan has correctly identified
this as a mips64; however, it doesn't detect that it's using n32...
Vicente, could you have a look?
Regards,
Arnout
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> package/botan/botan.mk | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/package/botan/botan.mk b/package/botan/botan.mk
> index ae0e02d..226294b 100644
> --- a/package/botan/botan.mk
> +++ b/package/botan/botan.mk
> @@ -13,8 +13,14 @@ BOTAN_LICENSE_FILES = doc/license.txt
> BOTAN_INSTALL_STAGING = YES
> BOTAN_INSTALL_TARGET = YES
>
> +BOTAN_ARCH = $(BR2_ARCH)
> +
> +ifneq ($(findstring mips,$(BOTAN_ARCH)),)
> + BOTAN_ARCH = mips
> +endif
> +
> BOTAN_CONF_OPTS = \
> - --cpu=$(BR2_ARCH) \
> + --cpu=$(BOTAN_ARCH) \
> --os=linux \
> --cc=gcc \
> --cc-bin="$(TARGET_CXX)"
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
prev parent reply other threads:[~2014-10-14 21:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-14 16:52 [Buildroot] [PATCH] botan: fix build with mips64el-ctng_n32-linux-gnu toolchain Francois Perrad
2014-10-14 21:25 ` Arnout Vandecappelle [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=543D94C7.2070100@mind.be \
--to=arnout@mind.be \
--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