2015-08-12 14:56:16 +02:00
|
|
|
PKG_NAME=wakaama
|
2017-01-08 21:55:47 +01:00
|
|
|
PKG_URL=https://github.com/eclipse/wakaama.git
|
2017-11-27 13:18:41 +01:00
|
|
|
PKG_VERSION=ee80c224622684ee47c17c57918904cffd00c4d2
|
2017-01-08 21:55:47 +01:00
|
|
|
PKG_LICENSE=EDL-1.0,EPL-1.0
|
2015-08-12 14:56:16 +02:00
|
|
|
|
2016-03-22 18:29:46 +01:00
|
|
|
.PHONY: all
|
2015-08-12 14:56:16 +02:00
|
|
|
|
|
|
|
all: patch
|
2016-03-22 18:29:46 +01:00
|
|
|
"$(MAKE)" -C $(PKG_BUILDDIR)/riotbuild
|
2015-08-12 14:56:16 +02:00
|
|
|
|
2016-03-23 16:38:19 +01:00
|
|
|
patch: git-download
|
2016-03-22 18:29:46 +01:00
|
|
|
mkdir -p "$(PKG_BUILDDIR)/riotbuild"
|
|
|
|
cp $(PKG_BUILDDIR)/core/*.c $(PKG_BUILDDIR)/core/*.h $(PKG_BUILDDIR)/riotbuild
|
2017-11-27 13:18:41 +01:00
|
|
|
cp $(PKG_BUILDDIR)/core/er-coap-13/*.c $(PKG_BUILDDIR)/core/er-coap-13/*.h $(PKG_BUILDDIR)/riotbuild
|
2015-08-12 14:56:16 +02:00
|
|
|
|
2016-03-22 18:29:46 +01:00
|
|
|
echo 'MODULE:=wakaama' > $(PKG_BUILDDIR)/riotbuild/Makefile
|
|
|
|
echo 'include $$(RIOTBASE)/Makefile.base' >> $(PKG_BUILDDIR)/riotbuild/Makefile
|
2015-08-12 14:56:16 +02:00
|
|
|
|
2016-03-22 18:29:46 +01:00
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|