mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
42 lines
889 B
Makefile
42 lines
889 B
Makefile
MODULE = wolfcrypt
|
|
|
|
CFLAGS += -Wno-unused
|
|
|
|
ifeq (llvm,$(TOOLCHAIN))
|
|
CFLAGS += -Wno-unused-parameter
|
|
endif
|
|
|
|
ifeq (native,$(BOARD))
|
|
CFLAGS += -Wno-array-parameter
|
|
endif
|
|
|
|
SUBMODULES += 1
|
|
|
|
NO_AUTO_SRC = 1
|
|
|
|
#-------------------------------------------------------------#
|
|
# Default CRYPTO source files #
|
|
#-------------------------------------------------------------#
|
|
SRC += error.c \
|
|
kdf.c \
|
|
hash.c \
|
|
logging.c \
|
|
wc_encrypt.c \
|
|
wc_port.c \
|
|
wolfmath.c
|
|
|
|
#-------------------------------------------------------------#
|
|
# Optional CRYPTO source files, enabled by default #
|
|
#-------------------------------------------------------------#
|
|
|
|
# Enabled by default
|
|
SRC += sha.c
|
|
SRC += sha256.c
|
|
SRC += fe_low_mem.c
|
|
SRC += ge_low_mem.c
|
|
SRC += sp_int.c
|
|
SRC += sp_c32.c
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.base
|