mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
0c2cfe99e6
Adds a separate board for native64 instead of the `NATIVE_64BIT` workaround. The files in `boards/native64` are more or less dummy files and just include the `boards/native` logic (similar to `openlabs-kw41z-mini-256kib`). The main logic for native is in `makefiles/arch/native.inc.mk`, `cpu/native` and `boards/native`. The remaining changes concern the build system, and change native board checks to native CPU checks to cover both boards.
42 lines
887 B
Makefile
42 lines
887 B
Makefile
MODULE = wolfcrypt
|
|
|
|
CFLAGS += -Wno-unused
|
|
|
|
ifeq (llvm,$(TOOLCHAIN))
|
|
CFLAGS += -Wno-unused-parameter
|
|
endif
|
|
|
|
ifeq (native,$(CPU))
|
|
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
|