1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-15 20:32:43 +01:00
RIOT/pkg/qDSA/Makefile.dep
Marian Buschsieweke 11ea9ee772
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.
2021-03-08 15:45:50 +01:00

11 lines
226 B
Makefile

ifneq (,$(filter cortex-m23 cortex-m0%,$(CPU_CORE)))
USEMODULE += qDSA_asm
endif
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
USEMODULE += qDSA_asm
endif
# qDsa is not 16 bit compatible
FEATURES_BLACKLIST += arch_16bit