From c4bfba7681bda84a4a0409801c71a71f9cf45226 Mon Sep 17 00:00:00 2001 From: Koen Zandberg <koen@bergzand.net> Date: Wed, 23 May 2018 16:58:25 +0200 Subject: [PATCH] pkg/tinycbor: initial import --- pkg/tinycbor/Makefile | 11 +++++++++++ pkg/tinycbor/Makefile.include | 1 + pkg/tinycbor/Makefile.tinycbor | 10 ++++++++++ 3 files changed, 22 insertions(+) create mode 100644 pkg/tinycbor/Makefile create mode 100644 pkg/tinycbor/Makefile.include create mode 100644 pkg/tinycbor/Makefile.tinycbor diff --git a/pkg/tinycbor/Makefile b/pkg/tinycbor/Makefile new file mode 100644 index 0000000000..03c0cd4cfe --- /dev/null +++ b/pkg/tinycbor/Makefile @@ -0,0 +1,11 @@ +PKG_NAME=tinycbor +PKG_URL=https://github.com/intel/tinycbor +PKG_VERSION=v0.5.1 +PKG_LICENSE=MIT + +.PHONY: all + +all: git-download + "$(MAKE)" -C $(PKG_BUILDDIR)/src -f $(CURDIR)/Makefile.tinycbor + +include $(RIOTBASE)/pkg/pkg.mk diff --git a/pkg/tinycbor/Makefile.include b/pkg/tinycbor/Makefile.include new file mode 100644 index 0000000000..ce4074d8c1 --- /dev/null +++ b/pkg/tinycbor/Makefile.include @@ -0,0 +1 @@ +INCLUDES += -I$(PKGDIRBASE)/tinycbor/src diff --git a/pkg/tinycbor/Makefile.tinycbor b/pkg/tinycbor/Makefile.tinycbor new file mode 100644 index 0000000000..06c9ad7249 --- /dev/null +++ b/pkg/tinycbor/Makefile.tinycbor @@ -0,0 +1,10 @@ +MODULE := tinycbor + +SRC += cborerrorstrings.c +SRC += cborencoder.c +SRC += cborencoder_close_container_checked.c +SRC += cborparser.c +SRC += cborpretty.c +SRC += cborvalidation.c + +include $(RIOTBASE)/Makefile.base -- GitLab