mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/qDSA: fix backend selection log
qDSA as optimized implementations for AVR. The logic to select the optimized backend predates the architecture features and uses some hand crafted logic. This updates the logic to select the backend based on the boards architecture using the feature system instead.
This commit is contained in:
parent
e8cc3c6194
commit
11ea9ee772
@ -2,7 +2,7 @@ ifneq (,$(filter cortex-m23 cortex-m0%,$(CPU_CORE)))
|
||||
USEMODULE += qDSA_asm
|
||||
endif
|
||||
|
||||
ifneq (,$(filter atmega_common,$(USEMODULE)))
|
||||
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
|
||||
USEMODULE += qDSA_asm
|
||||
endif
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
ifneq (,$(filter cortex-m23 cortex-m0%,$(CPU_CORE)))
|
||||
QDSA_IMPL ?= arm
|
||||
else
|
||||
ifneq (,$(filter atmega_common,$(USEMODULE)))
|
||||
QDSA_IMPL ?= avr
|
||||
else
|
||||
QDSA_IMPL ?= cref
|
||||
endif
|
||||
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
|
||||
QDSA_IMPL ?= avr
|
||||
else
|
||||
QDSA_IMPL ?= cref
|
||||
endif
|
||||
endif
|
||||
|
||||
export QDSA_IMPL
|
||||
|
Loading…
Reference in New Issue
Block a user