# Locally computed:
-sha256 37a06c618ccddd7edc3747277425fcd38fa71eab37c7aaf0b03818a49950da81 tinycbor-v0.4.2.tar.gz
+sha256 5826a284e7f120a8d2c49cb581702be3e851acb4083a4f5af6112975a8b22209 tinycbor-v0.5.0.tar.gz
sha256 3c6ba0b5bfa7830505301ffb336a17b0748e0d61c4d34216e9dc98f10e40395e LICENSE
#
################################################################################
-TINYCBOR_VERSION = v0.4.2
+TINYCBOR_VERSION = v0.5.0
TINYCBOR_SITE = $(call github,intel,tinycbor,$(TINYCBOR_VERSION))
TINYCBOR_LICENSE = MIT
TINYCBOR_LICENSE_FILES = LICENSE
TINYCBOR_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) V=1
+ifeq ($(BR2_STATIC_LIBS),y)
+TINYCBOR_MAKE_OPTS += BUILD_STATIC=1 BUILD_SHARED=0
+else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
+TINYCBOR_MAKE_OPTS += BUILD_STATIC=1 BUILD_SHARED=1
+else ifeq ($(BR2_SHARED_LIBS),y)
+TINYCBOR_MAKE_OPTS += BUILD_STATIC=0 BUILD_SHARED=1
+endif
+
# disabled parallel build because of build failures while
# producing the .config file
define TINYCBOR_BUILD_CMDS