1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Update libcoap

This commit is contained in:
Martin Lenders 2014-02-19 03:18:46 +01:00
parent 2de9619f21
commit 24b63bd9f0
7 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
ifneq (,$(filter libcoap,$(USEPKG)))
ifeq (,$(filter pnet,$(USEMODULE)))
USEMODULE += pnet
endif
endif
ifneq (,$(filter pnet,$(USEMODULE)))
ifeq (,$(filter posix,$(USEMODULE)))
USEMODULE += posix

View File

@ -4,6 +4,7 @@ UNDEF += $(BINDIR)startup.o
USEMODULE += cpu core sys
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
ED = $(USEMODULE:%=-DMODULE_%)
ED += $(USEPKG:%=-DMODULE_%)
EXTDEFINES = $(shell echo $(ED)|tr 'a-z' 'A-Z')
BL=$(USEMODULE:%= $(BINDIR)%.a)

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,6 @@
PKG_NAME=libcoap
PKG_URL=http://git.code.sf.net/p/libcoap/code
PKG_VERSION=89acaa6775ca3a4aedea510557e6b9c0c01fa5db
PKG_VERSION=ef41ce5d02d64cec0751882ae8fd95f6c32bc018
ifneq ($(RIOTBOARD),)
include $(RIOTBOARD)/$(BOARD)/Makefile.include
@ -19,7 +19,7 @@ all: patch
patch: $(CURDIR)/$(PKG_NAME)/Makefile
$(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME)
cd $< && git apply ../patch.txt
cd "$<" && git am --ignore-whitespace $(CURDIR)/*.patch || true
$(CURDIR)/$(PKG_NAME)/:
git clone $(PKG_URL) $@ && \