Blame view

RIOT/pkg/spiffs/Makefile 544 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=spiffs
  PKG_URL=https://github.com/pellepl/spiffs.git
  PKG_VERSION=287148c46587089c4543a21eef2d6e9e14b88364
  PKG_BUILDDIR ?= $(PKGDIRBASE)/$(PKG_NAME)
  
  CFLAGS += -std=c11
  
  .PHONY: all
  
  all: git-download
  	@mkdir -p "$(PKG_BUILDDIR)/riotbuild"
  	@cp $(PKG_BUILDDIR)/src/*.c $(PKG_BUILDDIR)/src/*.h $(PKG_BUILDDIR)/riotbuild
  
  	@echo 'MODULE:=spiffs' > $(PKG_BUILDDIR)/riotbuild/Makefile
  	@echo 'include $$(RIOTBASE)/Makefile.base' >> $(PKG_BUILDDIR)/riotbuild/Makefile
  
  	"$(MAKE)" -C $(PKG_BUILDDIR)/riotbuild
  
  include $(RIOTBASE)/pkg/pkg.mk