openssl: adjust ARM optimizations

We no longer support ARM less than v4 so just kill dead code that we had
for those cases.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias 2013-04-04 07:29:46 +00:00 committed by Peter Korsgaard
parent 9474421da3
commit 1b7f398dbb

View File

@ -29,14 +29,8 @@ endif
# Some architectures are optimized in OpenSSL # Some architectures are optimized in OpenSSL
ifeq ($(ARCH),arm) ifeq ($(ARCH),arm)
ifneq ($(BR2_generic_arm),y)
ifneq ($(BR2_arm610),y)
ifneq ($(BR2_arm710),y)
OPENSSL_TARGET_ARCH = armv4 OPENSSL_TARGET_ARCH = armv4
endif endif
endif
endif
endif
ifeq ($(ARCH),powerpc) ifeq ($(ARCH),powerpc)
# 4xx cores seem to have trouble with openssl's ASM optimizations # 4xx cores seem to have trouble with openssl's ASM optimizations
ifeq ($(BR2_powerpc_401)$(BR2_powerpc_403)$(BR2_powerpc_405)$(BR2_powerpc_405fp)$(BR2_powerpc_440)$(BR2_powerpc_440fp),) ifeq ($(BR2_powerpc_401)$(BR2_powerpc_403)$(BR2_powerpc_405)$(BR2_powerpc_405fp)$(BR2_powerpc_440)$(BR2_powerpc_440fp),)