From e7f13218ea09417baacadd1a92158cfe58b0958e Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 30 Mar 2016 14:35:36 +0200 Subject: [PATCH] pkg: add jsmn minimal JSON parser --- pkg/jsmn/Makefile | 10 ++++++++++ pkg/jsmn/Makefile.include | 1 + pkg/jsmn/patches/0001-RIOTize-makefile.patch | Bin 0 -> 1434 bytes 3 files changed, 11 insertions(+) create mode 100644 pkg/jsmn/Makefile create mode 100644 pkg/jsmn/Makefile.include create mode 100644 pkg/jsmn/patches/0001-RIOTize-makefile.patch diff --git a/pkg/jsmn/Makefile b/pkg/jsmn/Makefile new file mode 100644 index 0000000000..d582cc3ad4 --- /dev/null +++ b/pkg/jsmn/Makefile @@ -0,0 +1,10 @@ +PKG_NAME=jsmn +PKG_URL=https://github.com/zserge/jsmn +PKG_VERSION=b77d84ba48e057aa464b6c6b6f6209e632918cb3 + +.PHONY: all + +all: git-download + "$(MAKE)" -C $(PKG_BUILDDIR) + +include $(RIOTBASE)/pkg/pkg.mk diff --git a/pkg/jsmn/Makefile.include b/pkg/jsmn/Makefile.include new file mode 100644 index 0000000000..c8eef19bb6 --- /dev/null +++ b/pkg/jsmn/Makefile.include @@ -0,0 +1 @@ +INCLUDES += -I$(BINDIRBASE)/pkg/$(BOARD)/jsmn diff --git a/pkg/jsmn/patches/0001-RIOTize-makefile.patch b/pkg/jsmn/patches/0001-RIOTize-makefile.patch new file mode 100644 index 0000000000000000000000000000000000000000..2cbdbc2358de6e5d41034f0d26b00483ebb7ca12 GIT binary patch literal 1434 zcmbtUZExBz82nuSijzhqP;f}n6iU=iF#5W-v?54THLb`bPH_nd%8S%Z`|-0A2&tx3 z-G&g@r{}r5$2sRbiC5sp;o(uY-}89i;$7clLI2R=bI&&dW-;6LEW2+XaRaw;1edR2 z_Fx!J@r7j=COMZh4z5|cW(izx5pt381jow)8Khf8_xVS1$};ZY3-{YNkesr^GR!Va z+p&6%)rDqAPU7bCXYOSVzTOX~qswoYT-{B@4~`XE@<4=~5K1YL{pA)vVO!8N3BKz? zU_#NrTd?R!nXw=u={gf}ls2_i8@2(Thr9%6ix6J~0VsVE8Ca(ho>xmEBA>s29UNJH z*Vgr}%>#LMFb$(?+sbdPk7$~PTJK;0YPM|?n%O?UU_j^xJj6LX7Ga%d_#Wp8=D7%c z#OuNn7ChmSRYYEx`*M;v3dEDXS`tbq3quE?m_MhhNM}$`wR2FQF`;{n=5W$N;-N7> z<55-Z>#>7<-79MrMa^i`0+lt*(fQ5r!fl~(3>wQG)sXR2J|^`$^LfDXFe^7{mI!aN z4n?#~>+q~V%I0lbNzzeFsqR(6HPz=Ow4+??=|x+yE}WF&e_*7ipWWN>%$-iI zM$;3sKG*vdiUHmhxF1f=#?#r&)%e=|SDA8<^0?kstH#-k_n+#7s*udoX{to*Hr_5) z>hY&ywGR1=zcBUhV6*6yxE|N5W!zMh8nsh?+y&`5jUzu_t#=$-;W?lOp__jH?(Un;PmC;$Ke literal 0 HcmV?d00001