2021-03-04 17:45:02 +01:00
|
|
|
PKG_NAME = EDHOC-C
|
|
|
|
PKG_URL = https://github.com/future-proof-iot/EDHOC-C.git
|
2022-03-09 09:01:49 +01:00
|
|
|
PKG_VERSION = 27be50625bed86f7b2d3cbedc373e0c26f276e93
|
2021-03-04 17:45:02 +01:00
|
|
|
PKG_LICENSE = BSD-3-Clause
|
|
|
|
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
|
|
|
|
2021-09-20 11:34:30 +02:00
|
|
|
CFLAGS += -Wno-newline-eof
|
|
|
|
|
2021-03-04 17:45:02 +01:00
|
|
|
.PHONY: edhoc-c_%
|
|
|
|
|
|
|
|
EDHOC_C_MODULES := $(filter edhoc-c_%,$(USEMODULE))
|
|
|
|
|
|
|
|
all: $(EDHOC_C_MODULES)
|
2022-04-28 14:02:42 +02:00
|
|
|
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=edhoc-c
|
2021-03-04 17:45:02 +01:00
|
|
|
|
|
|
|
edhoc-c_crypto_%:
|
2022-04-28 14:02:42 +02:00
|
|
|
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/crypto -f $(RIOTBASE)/Makefile.base MODULE=$@ SRC=$*.c
|
2021-03-04 17:45:02 +01:00
|
|
|
|
|
|
|
edhoc-c_cbor_%:
|
2022-04-28 14:02:42 +02:00
|
|
|
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/cbor -f $(RIOTBASE)/Makefile.base MODULE=$@ SRC=$*.c
|