pkg: nanocoap: initial commit

This commit is contained in:
Kaspar Schleiser 2016-10-19 20:57:10 +02:00
parent 3422190c51
commit ae1f362802
3 changed files with 17 additions and 0 deletions

11
pkg/nanocoap/Makefile Normal file
View File

@ -0,0 +1,11 @@
PKG_NAME=nanocoap
PKG_URL=https://github.com/kaspar030/sock
PKG_VERSION=5649e325a3a9047b48ffbbcc283f7a4558978737
.PHONY: all
all: git-download
@cp Makefile.nanocoap $(PKG_BUILDDIR)/nanocoap/Makefile
"$(MAKE)" -C $(PKG_BUILDDIR)/nanocoap
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -0,0 +1 @@
INCLUDES += -I$(BINDIRBASE)/pkg/$(BOARD)/nanocoap/nanocoap

View File

@ -0,0 +1,5 @@
MODULE=nanocoap
SRC := nanocoap.c nanocoap_sock.c
include $(RIOTBASE)/Makefile.base