Update buidlroot to version 2016.08.1
This commit is contained in:
8
bsp/buildroot/package/tinycbor/Config.in
Normal file
8
bsp/buildroot/package/tinycbor/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_TINYCBOR
|
||||
bool "tinycbor"
|
||||
# package uses fopencookie(), not available with this toolchain
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
|
||||
help
|
||||
Concise Binary Object Representation (CBOR) Library
|
||||
|
||||
https://github.com/01org/tinycbor
|
||||
3
bsp/buildroot/package/tinycbor/tinycbor.hash
Normal file
3
bsp/buildroot/package/tinycbor/tinycbor.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 f70de1e6b7e3750abb4ceacf0059e47b47c769f113434de10293b33867ce54c2 tinycbor-v0.3.2.tar.gz
|
||||
sha256 7d3aa839ae246e9e14fc73e67869d88c684802c1578fb75503f3fdde1482dcf6 ede7f1431ae06c9086f2a83a57bd7832d99280e3.patch
|
||||
41
bsp/buildroot/package/tinycbor/tinycbor.mk
Normal file
41
bsp/buildroot/package/tinycbor/tinycbor.mk
Normal file
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# tinycbor
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TINYCBOR_VERSION = v0.3.2
|
||||
TINYCBOR_SITE = $(call github,01org,tinycbor,$(TINYCBOR_VERSION))
|
||||
TINYCBOR_LICENSE = MIT
|
||||
TINYCBOR_LICENSE_FILES = LICENSE
|
||||
|
||||
# This patch fixes the issue on unnamed union which are not supported by some
|
||||
# targets like blackfin
|
||||
# This patch is currently in dev branch and will be a part of v0.4
|
||||
TINYCBOR_PATCH = \
|
||||
https://github.com/01org/tinycbor/commit/ede7f1431ae06c9086f2a83a57bd7832d99280e3.patch
|
||||
|
||||
TINYCBOR_DEPENDENCIES = host-pkgconf
|
||||
TINYCBOR_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CJSON),y)
|
||||
TINYCBOR_DEPENDENCIES += cjson
|
||||
endif
|
||||
|
||||
TINYCBOR_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) V=1
|
||||
|
||||
define TINYCBOR_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TINYCBOR_MAKE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define TINYCBOR_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TINYCBOR_MAKE_OPTS) -C $(@D) \
|
||||
DESTDIR=$(STAGING_DIR) prefix=/usr install
|
||||
endef
|
||||
|
||||
define TINYCBOR_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TINYCBOR_MAKE_OPTS) -C $(@D) \
|
||||
DESTDIR=$(TARGET_DIR) prefix=/usr install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user