Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
config BR2_PACKAGE_CJSON
|
||||
bool "cJSON"
|
||||
# For static build with cJSON.c directly see README
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
An ultra-lightweight, portable, single-file, simple-as-can-be ANSI-C
|
||||
compliant JSON parser, under MIT license.
|
||||
|
||||
http://cjson.sourceforge.net/
|
||||
https://github.com/DaveGamble/cJSON
|
||||
|
||||
2
bsp/buildroot/package/cjson/cjson.hash
Normal file
2
bsp/buildroot/package/cjson/cjson.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 1d976ca423d714b7e836cfbc1980b56f49962d0dfe654edb3c2ffa5c713af242 cjson-v1.2.1.tar.gz
|
||||
@@ -4,26 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CJSON_VERSION = 58
|
||||
CJSON_SITE_METHOD = svn
|
||||
CJSON_SITE = http://svn.code.sf.net/p/cjson/code
|
||||
CJSON_VERSION = v1.2.1
|
||||
CJSON_SITE = $(call github,DaveGamble,cjson,$(CJSON_VERSION))
|
||||
CJSON_INSTALL_STAGING = YES
|
||||
CJSON_LICENSE = MIT
|
||||
CJSON_LICENSE_FILES = LICENSE
|
||||
|
||||
define CJSON_BUILD_CMDS
|
||||
cd $(@D) && $(TARGET_CC) $(TARGET_CFLAGS) -shared -fPIC -lm \
|
||||
cJSON.c -o libcJSON.so
|
||||
endef
|
||||
|
||||
define CJSON_INSTALL_STAGING_CMDS
|
||||
$(INSTALL) -D $(@D)/cJSON.h $(STAGING_DIR)/usr/include/cJSON.h
|
||||
$(INSTALL) -D $(@D)/libcJSON.so $(STAGING_DIR)/usr/lib/libcJSON.so
|
||||
endef
|
||||
|
||||
define CJSON_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D $(@D)/cJSON.h $(TARGET_DIR)/usr/include/cJSON.h
|
||||
$(INSTALL) -D $(@D)/libcJSON.so $(TARGET_DIR)/usr/lib/libcJSON.so
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user