summaryrefslogtreecommitdiffstats
path: root/package/tinycbor
Commit message (Collapse)AuthorAgeFilesLines
* tinycbor: fix undefined encode_half in json2cborFabrice Fontaine2018-09-201-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | encode_half has been moved from compilersupport_p.h to cborinternal_p.h in commit https://github.com/intel/tinycbor/commit/bfc40dcf909f1998d7760c2bc0e1409979d3c8cb so include this file in json2cbor to avoid the following build failure on tinycbor 0.5.2: /home/buildroot/autobuild/run/instance-0/output/host/bin/microblazeel-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o tools/json2cbor/json2cbor.o tools/json2cbor/json2cbor.c tools/json2cbor/json2cbor.c: In function 'decode_json_with_metadata': tools/json2cbor/json2cbor.c:295:50: warning: implicit declaration of function 'encode_half' [-Wimplicit-function-declaration] (half = encode_half(v), cbor_encode_half_float(encoder, &half)); ^~~~~~~~~~~ /home/buildroot/autobuild/run/instance-0/output/host/bin/microblazeel-linux-gcc -o bin/json2cbor tools/json2cbor/json2cbor.o lib/libtinycbor.so -lcjson -lm tools/json2cbor/json2cbor.o: In function `decode_json_with_metadata': (.text+0xe54): undefined reference to `encode_half' collect2: error: ld returned 1 exit status Makefile:151: recipe for target 'bin/json2cbor' failed Fixes: - http://autobuild.buildroot.net/results/afd8d24f2a4e501264abff618cf421d4bd088ebf Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* tinycbor: bump to version 0.5.2Fabrice Fontaine2018-09-182-2/+2
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* tinycbor: bump to version 0.5.1Fabrice Fontaine2018-04-042-2/+2
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* tinycbor: bump to version 0.5.0Fabrice Fontaine2018-02-082-2/+10
| | | | | | | | | This version added support for shared or static library building through BUILD_STATIC and BUILD_SHARED variables so set them depending on BR2_xxx_LIBS variables Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* tinycbor: bump to version 0.4.2Fabrice Fontaine2017-11-243-31/+4
| | | | | | | | | - Remove patch (already in version) - Add LICENSE hash - Change github repo name from 01org to intel Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tinycbor: on't download patch from GithubThomas Petazzoni2017-07-033-5/+28
| | | | | | | | Patches downloaded from Github are not stable, so bring them in the tree. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* tinycbor: bump to version 1.4.1Fabrice Fontaine2017-03-104-100/+7
| | | | | | | | Delete first patch as it has been integrated upstream Retrieve second patch upstream Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tinycbor: disable parallel buildPeter Seiderer2016-12-171-1/+3
| | | | | | | | | | | | Maybe fixes ([1]): make[1]: Entering directory `/home/peko/autobuild/instance-1/output/build/tinycbor-v0.4' .config:8: *** missing separator. Stop. [1] http://autobuild.buildroot.net/results/8e8fd1e19d6d07212f29e19a305712e715fe781b Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cjson: bump to version v1.0.2Fabrice Fontaine2016-12-042-0/+98
| | | | | | | | | | | | | | | This is a major update in cjson: - project site moved from sourceforge to github - project recommends to use the new cmake buildsystem instead of the legacy make - BR2_STATIC_LIBS is now OK (README does not mention issue anymore) - As include path and library name have changed, tinycbor has to be updated - As cjson can now be built as a static library, fix a bug in json2cbor compilation from tinycbor package Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain: kill ADI Blackfin toolchainArnout Vandecappelle2016-11-251-2/+0
| | | | | | | | | | | | | | | | This toolchain has many problems which are fixed in contemporary gcc and uClibc-ng. In addition, several hacks are needed to be able to work with this toolchain. All these hacks are removed as well. Also the package exceptions for this toolchain are removed. The BR2_BFIN_INSTALL_FDPIC_SHARED and BR2_BFIN_INSTALL_FLAT_SHARED options don't get a legacy entry. For the ADI toolchain, there already is a legacy entry, so it doesn't make sense to add it twice. For other external toolchains, these options didn't actually work, because they rely on the specific layout of the ADI toolchain. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tinycbor: bump to version v0.4Fabrice Fontaine2016-11-052-15/+2
| | | | | Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tinycbor: fix detection of cjsonFabrice Fontaine2016-10-132-0/+6
| | | | | | | | Fixes: - http://autobuild.buildroot.net/results/8fc/8fc7365e0dc777edc57e950a84df7fddc13c6776 Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* tinycbor: exclude Blackfin ADI toolchainFabrice Fontaine2016-08-191-0/+2
| | | | | | | | | | | | | | | | | | | | | As tinycbor uses fopencookie() which is not available with the Blackfin ADI external toolchain (UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not enabled), add a dependency on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX. This avoids the following build failure: src/open_memstream.c: In function ‘open_memstream’: src/open_memstream.c:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vtable’ src/open_memstream.c:105: error: ‘vtable’ undeclared (first use in this function) src/open_memstream.c:105: error: (Each undeclared identifier is reported only once src/open_memstream.c:105: error: for each function it appears in.) src/open_memstream.c:105: error: expected expression before ‘{’ token src/open_memstream.c:111: warning: implicit declaration of function ‘fopencookie’ src/open_memstream.c:111: warning: return makes pointer from integer without a cast Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> [Thomas: improve commit message.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tinycbor: fix issue on unnamed unionFabrice Fontaine2016-08-192-0/+7
| | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/f4d/f4d15afb44f471878dbdee7c67cd836bd2b79904 Until tinycbor 0.4 is released, patch from dev branch is needed to remove the usage of unnamed union which are not supported by all targets such as blackfin, more details can be found here: https://patchwork.ozlabs.org/patch/652187/ Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tinycbor: bump to version 0.3.2Fabrice Fontaine2016-08-193-61/+2
| | | | | | | | | tinycbor 0.3.2 includes the buildroot patch that fixes the installation with old Makefile used by targets such as blackfin, more details can be found here: https://patchwork.ozlabs.org/patch/652187 Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tinycbor: add patch to fix installation with old make versionsThomas Petazzoni2016-07-301-0/+59
| | | | | | | | | | | | | | This commit adds a patch to the tinycbor package that fixes the installation process with old make version. This fixes the build on autobuilders using an old make, where tinycbor was creating empty directories instead of installing files. Fixes: http://autobuild.buildroot.net/results/7605c301f460398c2435f6b73d6d07c7d1022e8c/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tinycbor: new packageFabrice Fontaine2016-07-253-0/+43
Concise Binary Object Representation (CBOR) Library Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> [Thomas: - use lower-case letters in the Config.in option prompt - remove BR2_PACKAGE_TINYCBOR_JSON2CBOR sub-option, simply rely on the cjson package being enabled - pass prefix=/usr only at install time.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud