nettle: use the BR2_ARM_CPU_ARM* options
Adjust the nettle package to use the BR2_ARM_CPU_ARM* option to disable the usage of assembly code on ARMv4 and ARMv5. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a5ca78d842
commit
461f08072f
|
@ -15,7 +15,7 @@ NETTLE_LICENSE_FILES = COPYING.LIB
|
|||
NETTLE_CONF_OPTS = --disable-openssl
|
||||
|
||||
# ARM assembly requires v6+ ISA
|
||||
ifeq ($(BR2_arm920t)$(BR2_arm922t)$(BR2_arm926t)$(BR2_fa526)$(BR2_strongarm)$(BR2_xscale)$(BR2_iwmmxt),y)
|
||||
ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5),y)
|
||||
NETTLE_CONF_OPTS += --disable-assembler
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue