Skip to content
Snippets Groups Projects
Commit 24b63bd9 authored by Martine Lenders's avatar Martine Lenders
Browse files

Update libcoap

parent 2de9619f
No related branches found
No related tags found
No related merge requests found
ifneq (,$(filter libcoap,$(USEPKG)))
ifeq (,$(filter pnet,$(USEMODULE)))
USEMODULE += pnet
endif
endif
ifneq (,$(filter pnet,$(USEMODULE))) ifneq (,$(filter pnet,$(USEMODULE)))
ifeq (,$(filter posix,$(USEMODULE))) ifeq (,$(filter posix,$(USEMODULE)))
USEMODULE += posix USEMODULE += posix
......
...@@ -4,6 +4,7 @@ UNDEF += $(BINDIR)startup.o ...@@ -4,6 +4,7 @@ UNDEF += $(BINDIR)startup.o
USEMODULE += cpu core sys USEMODULE += cpu core sys
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
ED = $(USEMODULE:%=-DMODULE_%) ED = $(USEMODULE:%=-DMODULE_%)
ED += $(USEPKG:%=-DMODULE_%)
EXTDEFINES = $(shell echo $(ED)|tr 'a-z' 'A-Z') EXTDEFINES = $(shell echo $(ED)|tr 'a-z' 'A-Z')
BL=$(USEMODULE:%= $(BINDIR)%.a) BL=$(USEMODULE:%= $(BINDIR)%.a)
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
PKG_NAME=libcoap PKG_NAME=libcoap
PKG_URL=http://git.code.sf.net/p/libcoap/code PKG_URL=http://git.code.sf.net/p/libcoap/code
PKG_VERSION=89acaa6775ca3a4aedea510557e6b9c0c01fa5db PKG_VERSION=ef41ce5d02d64cec0751882ae8fd95f6c32bc018
ifneq ($(RIOTBOARD),) ifneq ($(RIOTBOARD),)
include $(RIOTBOARD)/$(BOARD)/Makefile.include include $(RIOTBOARD)/$(BOARD)/Makefile.include
...@@ -19,7 +19,7 @@ all: patch ...@@ -19,7 +19,7 @@ all: patch
patch: $(CURDIR)/$(PKG_NAME)/Makefile patch: $(CURDIR)/$(PKG_NAME)/Makefile
$(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME) $(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME)
cd $< && git apply ../patch.txt cd "$<" && git am --ignore-whitespace $(CURDIR)/*.patch || true
$(CURDIR)/$(PKG_NAME)/: $(CURDIR)/$(PKG_NAME)/:
git clone $(PKG_URL) $@ && \ git clone $(PKG_URL) $@ && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment