Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: egtvedt at uclibc.org <egtvedt@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/openssl
Date: Mon, 13 Oct 2008 01:10:36 -0700 (PDT)	[thread overview]
Message-ID: <20081013081036.2CF4A3C84C@busybox.net> (raw)

Author: egtvedt
Date: 2008-10-13 01:10:35 -0700 (Mon, 13 Oct 2008)
New Revision: 23663

Log:
openssl: fix architecture specified when configuring openssl

This patch will default to linux-generic32, unless a known optimized
architecture is selected.

As of today it will select optimized config for; avr32, ia64, powerpc and
x86_64.

This fixes bug #5344.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>



Modified:
   trunk/buildroot/package/openssl/openssl.mk


Changeset:
Modified: trunk/buildroot/package/openssl/openssl.mk
===================================================================
--- trunk/buildroot/package/openssl/openssl.mk	2008-10-12 11:20:08 UTC (rev 23662)
+++ trunk/buildroot/package/openssl/openssl.mk	2008-10-13 08:10:35 UTC (rev 23663)
@@ -6,13 +6,21 @@
 OPENSSL_VERSION:=0.9.8g
 OPENSSL_SITE:=http://www.openssl.org/source
 
-OPENSSL_TARGET_ARCH:=
-ifeq ($(BR2_i386),y)
-OPENSSL_TARGET_ARCH:=generic32
+OPENSSL_TARGET_ARCH=generic32
+
+# Some architectures are optimized in OpenSSL
+ifeq ($(BR2_ARCH),avr32)
+OPENSSL_TARGET_ARCH=avr32
 endif
-ifeq ($(OPENSSL_TARGET_ARCH),)
-OPENSSL_TARGET_ARCH:=$(ARCH)
+ifeq ($(BR2_ARCH),ia64)
+OPENSSL_TARGET_ARCH=ia64
 endif
+ifeq ($(BR2_ARCH),powerpc)
+OPENSSL_TARGET_ARCH=ppc
+endif
+ifeq ($(BR2_ARCH),x86_64)
+OPENSSL_TARGET_ARCH=x86_64
+endif
 
 OPENSSL_INSTALL_STAGING = YES
 OPENSSL_INSTALL_STAGING_OPT = INSTALL_PREFIX=$(STAGING_DIR) install

             reply	other threads:[~2008-10-13  8:10 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-13  8:10 egtvedt at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-05 13:48 [Buildroot] svn commit: trunk/buildroot/package/openssl jacmet at uclibc.org
2009-02-24  0:37 hamish at uclibc.org
2009-01-21 20:31 jacmet at uclibc.org
2009-01-06 11:59 jacmet at uclibc.org
2008-12-28 16:08 jacmet at uclibc.org
2009-01-06 11:38 ` Mark Jackson
2009-01-06 12:00   ` Peter Korsgaard
2009-01-06 13:25     ` Mark Jackson
2008-10-07  7:11 egtvedt at uclibc.org
2008-09-24  9:12 egtvedt at uclibc.org
2008-09-24  9:10 egtvedt at uclibc.org
2008-07-08 13:49 jacmet at uclibc.org
2008-07-08 10:13 ulf at uclibc.org
2008-07-08 10:31 ` Peter Korsgaard
2008-07-08 12:04 ` Hamish Moffatt
2008-07-08 12:25   ` Thiago A. Corrêa
2008-07-08 12:39     ` Peter Korsgaard
2008-07-08 13:16       ` Thiago A. Corrêa
2008-07-08 13:29         ` Peter Korsgaard
2008-07-08 13:35           ` Thiago A. Corrêa
2008-07-08 13:45             ` Peter Korsgaard
2008-07-08 14:56               ` Thiago A. Corrêa
2008-07-08 15:02                 ` Peter Korsgaard
2008-07-08 15:34                   ` John Voltz
2008-07-08 15:42                     ` John Voltz
2008-07-08 16:30             ` Ulf Samuelsson
2008-07-08 16:48         ` Ulf Samuelsson
2008-07-08  6:40 hamish at uclibc.org
2008-07-08  9:36 ` Ulf Samuelsson
2008-07-08 12:03   ` Hamish Moffatt
2008-07-05  7:25 ulf at uclibc.org
2008-07-05 15:55 ` Thiago A. Corrêa
2008-07-05 21:59   ` Ulf Samuelsson
2008-07-05  6:54 ulf at uclibc.org
2007-08-13 19:35 ulf at uclibc.org
2007-08-11 16:55 ulf at uclibc.org
2007-04-06 15:01 aldot at uclibc.org

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=20081013081036.2CF4A3C84C@busybox.net \
    --to=egtvedt@uclibc.org \
    --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