|
@@ -33,14 +33,12 @@ WOLFSSL_CONF_OPTS += --disable-sslv3
|
|
endif
|
|
endif
|
|
|
|
|
|
# enable ARMv8 hardware acceleration
|
|
# enable ARMv8 hardware acceleration
|
|
-ifeq ($(BR2_ARM_CPU_ARMV8A),y)
|
|
|
|
|
|
+ifeq ($(BR2_aarch64),y)
|
|
WOLFSSL_CONF_OPTS += --enable-armasm
|
|
WOLFSSL_CONF_OPTS += --enable-armasm
|
|
# the flag -mstrict-align is needed to prevent build errors caused by
|
|
# the flag -mstrict-align is needed to prevent build errors caused by
|
|
# some inline assembly in parts of the AES structure using the "m"
|
|
# some inline assembly in parts of the AES structure using the "m"
|
|
# constraint
|
|
# constraint
|
|
-ifeq ($(BR2_aarch64),y)
|
|
|
|
WOLFSSL_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -mstrict-align"
|
|
WOLFSSL_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -mstrict-align"
|
|
-endif
|
|
|
|
else
|
|
else
|
|
WOLFSSL_CONF_OPTS += --disable-armasm
|
|
WOLFSSL_CONF_OPTS += --disable-armasm
|
|
endif
|
|
endif
|