Browse Source

pkg: nanocoap: initial commit

pr/spi.typo
Kaspar Schleiser 6 years ago
parent
commit
ae1f362802
  1. 11
      pkg/nanocoap/Makefile
  2. 1
      pkg/nanocoap/Makefile.include
  3. 5
      pkg/nanocoap/Makefile.nanocoap

11
pkg/nanocoap/Makefile

@ -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

1
pkg/nanocoap/Makefile.include

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

5
pkg/nanocoap/Makefile.nanocoap

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