polarssl: replace BIGNUM_C_IMPLEMENTATION check

Replace the BIGNUM_C_IMPLEMENTATION check by a check on POLARSSL_HAVE_ASM
and __arm__. This way it's possible to use this code on non arm, but
also to run the GNU/Linux emulation on an arm machine, which is useful
for debugging and profiling.
This commit is contained in:
Aurelien Jarno
2017-10-12 22:02:22 +02:00
committed by NIIBE Yutaka
parent f7cf0a3461
commit 8319f4a14b
2 changed files with 7 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ USE_EVENTFLAG = yes
ifeq ($(EMULATION),)
DEFS += -DFLASH_UPGRADE_SUPPORT
else
DEFS += -DBN256_C_IMPLEMENTATION -DBIGNUM_C_IMPLEMENTATION
DEFS += -DBN256_C_IMPLEMENTATION
endif
ifneq ($(ENABLE_DEBUG),)