mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Update tinycbor to the latest version. This release migrates from a hand-written Makefile to CMake, which required a number of patches to restore parity with the old system: - Fix building on toolchains without C++ support - Keep installing the json2cbor command line tool Also building on GCC versions older than 11 was fixed and subsequently broken again, so this requires a refreshed version of the patch that was already present for 0.6.1. Changelog: https://github.com/intel/tinycbor/releases/tag/v7.0 Signed-off-by: Florian Larysch <fl@n621.de> Signed-off-by: Julien Olivain <ju.o@free.fr>
19 lines
450 B
Makefile
19 lines
450 B
Makefile
################################################################################
|
|
#
|
|
# tinycbor
|
|
#
|
|
################################################################################
|
|
|
|
TINYCBOR_VERSION = 7.0
|
|
TINYCBOR_SITE = $(call github,intel,tinycbor,v$(TINYCBOR_VERSION))
|
|
TINYCBOR_LICENSE = MIT
|
|
TINYCBOR_LICENSE_FILES = LICENSE
|
|
|
|
TINYCBOR_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_CJSON),y)
|
|
TINYCBOR_DEPENDENCIES += cjson
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|