Blame view

RIOT/pkg/wakaama/Makefile 626 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  PKG_NAME=wakaama
  PKG_URL=https://github.com/eclipse/wakaama.git
  PKG_VERSION=69a32cfae39f66fe4eec4cc8d1cd48ced7ad447c
  PKG_LICENSE=EDL-1.0,EPL-1.0
  
  .PHONY: all
  
  all: patch
  	"$(MAKE)" -C $(PKG_BUILDDIR)/riotbuild
  
  patch: git-download
  	mkdir -p "$(PKG_BUILDDIR)/riotbuild"
  	cp $(PKG_BUILDDIR)/core/*.c $(PKG_BUILDDIR)/core/*.h $(PKG_BUILDDIR)/riotbuild
  	cp $(PKG_BUILDDIR)/core/er-coap-13/*.c $(PKG_TEMP_DIR)/core/er-coap-13/*.h $(PKG_BUILDDIR)/riotbuild
  
  	echo 'MODULE:=wakaama' > $(PKG_BUILDDIR)/riotbuild/Makefile
  	echo 'include $$(RIOTBASE)/Makefile.base' >> $(PKG_BUILDDIR)/riotbuild/Makefile
  
  include $(RIOTBASE)/pkg/pkg.mk