1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/edhoc-c/Makefile
Francisco Molina c586016bbf pkg/edhoc-c: bump version
This rebases to latest master, it also includes a patch to allow
generating credentials when using tinycrypt as the crypto backend.
2022-03-09 09:12:23 +01:00

22 lines
612 B
Makefile

PKG_NAME = EDHOC-C
PKG_URL = https://github.com/future-proof-iot/EDHOC-C.git
PKG_VERSION = 27be50625bed86f7b2d3cbedc373e0c26f276e93
PKG_LICENSE = BSD-3-Clause
include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-newline-eof
.PHONY: edhoc-c_%
EDHOC_C_MODULES := $(filter edhoc-c_%,$(USEMODULE))
all: $(EDHOC_C_MODULES)
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=edhoc-c
edhoc-c_crypto_%:
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/crypto -f $(RIOTBASE)/Makefile.base MODULE=$@ SRC=$*.c
edhoc-c_cbor_%:
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/cbor -f $(RIOTBASE)/Makefile.base MODULE=$@ SRC=$*.c