Add buildroot 2018-02
This commit is contained in:
6
buildroot/package/tinycbor/Config.in
Normal file
6
buildroot/package/tinycbor/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_TINYCBOR
|
||||
bool "tinycbor"
|
||||
help
|
||||
Concise Binary Object Representation (CBOR) Library
|
||||
|
||||
https://github.com/01org/tinycbor
|
||||
3
buildroot/package/tinycbor/tinycbor.hash
Normal file
3
buildroot/package/tinycbor/tinycbor.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 37a06c618ccddd7edc3747277425fcd38fa71eab37c7aaf0b03818a49950da81 tinycbor-v0.4.2.tar.gz
|
||||
sha256 3c6ba0b5bfa7830505301ffb336a17b0748e0d61c4d34216e9dc98f10e40395e LICENSE
|
||||
37
buildroot/package/tinycbor/tinycbor.mk
Normal file
37
buildroot/package/tinycbor/tinycbor.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# tinycbor
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TINYCBOR_VERSION = v0.4.2
|
||||
TINYCBOR_SITE = $(call github,intel,tinycbor,$(TINYCBOR_VERSION))
|
||||
TINYCBOR_LICENSE = MIT
|
||||
TINYCBOR_LICENSE_FILES = LICENSE
|
||||
|
||||
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
|
||||
|
||||
# disabled parallel build because of build failures while
|
||||
# producing the .config file
|
||||
define TINYCBOR_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) $(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