mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
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>
This commit is contained in:
parent
ad0984bfa8
commit
bd3dd7b6b9
@ -6,12 +6,20 @@
|
|||||||
OPENSSL_VERSION:=0.9.8g
|
OPENSSL_VERSION:=0.9.8g
|
||||||
OPENSSL_SITE:=http://www.openssl.org/source
|
OPENSSL_SITE:=http://www.openssl.org/source
|
||||||
|
|
||||||
OPENSSL_TARGET_ARCH:=
|
OPENSSL_TARGET_ARCH=generic32
|
||||||
ifeq ($(BR2_i386),y)
|
|
||||||
OPENSSL_TARGET_ARCH:=generic32
|
# Some architectures are optimized in OpenSSL
|
||||||
|
ifeq ($(BR2_ARCH),avr32)
|
||||||
|
OPENSSL_TARGET_ARCH=avr32
|
||||||
endif
|
endif
|
||||||
ifeq ($(OPENSSL_TARGET_ARCH),)
|
ifeq ($(BR2_ARCH),ia64)
|
||||||
OPENSSL_TARGET_ARCH:=$(ARCH)
|
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
|
endif
|
||||||
|
|
||||||
OPENSSL_INSTALL_STAGING = YES
|
OPENSSL_INSTALL_STAGING = YES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user