PKG_NAME=littlefs PKG_URL=https://github.com/geky/littlefs.git PKG_VERSION=be22d3449f23a24e7462114349ce04d751e42437 PKG_BUILDDIR ?= $(PKGDIRBASE)/$(PKG_NAME) .PHONY: all all: git-download @mkdir -p "$(PKG_BUILDDIR)/riotbuild" @cp $(PKG_BUILDDIR)/*.c $(PKG_BUILDDIR)/*.h $(PKG_BUILDDIR)/riotbuild @cp $(CURDIR)/Makefile.littlefs $(PKG_BUILDDIR)/riotbuild/Makefile "$(MAKE)" -C $(PKG_BUILDDIR)/riotbuild include $(RIOTBASE)/pkg/pkg.mk