Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] botan: fix build with mips64el-ctng_n32-linux-gnu toolchain
@ 2014-10-14 16:52 Francois Perrad
  2014-10-14 21:25 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2014-10-14 16:52 UTC (permalink / raw)
  To: buildroot

set --cpu only with "mips"

see http://autobuild.buildroot.org/results/5dc/5dc907c0334d3a3b7abff41eef4e025c1f29a655/build-end.log

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)"
-- 
1.9.1

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

* [Buildroot] [PATCH] botan: fix build with mips64el-ctng_n32-linux-gnu toolchain
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2014-10-14 21:25 UTC (permalink / raw)
  To: buildroot

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

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

end of thread, other threads:[~2014-10-14 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox