Add buildroot 2018-02

This commit is contained in:
Pascal Vizeli
2018-03-17 23:47:00 +00:00
parent 3776c47f83
commit 67742041ad
10007 changed files with 405098 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
From 79d862ccaabc6620ce4b2783a44d6014ae837df9 Mon Sep 17 00:00:00 2001
From: Baruch Siach <baruch@tkos.co.il>
Date: Sun, 31 Dec 2017 00:01:37 +0200
Subject: [PATCH] configure.ac: remove -Werror
The unconditional _REENTRANT macro causes a warning when building with a
no-threads toolchain. Remove -Werror to fix the build.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Patch status: not upstreamable
Issue reported upstream: https://github.com/json-c/json-c/issues/396
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 024c5aa0d687..74caa4d99e15 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,7 +165,7 @@ AS_IF([test "x$enable_Bsymbolic" = "xcheck"],
AS_IF([test "x$enable_Bsymbolic" = "xyes"], [JSON_BSYMBOLIC_LDFLAGS=-Wl[,]-Bsymbolic-functions])
AC_SUBST(JSON_BSYMBOLIC_LDFLAGS)
-AX_APPEND_COMPILE_FLAGS([-Wall -Werror -Wcast-qual -Wno-error=deprecated-declarations])
+AX_APPEND_COMPILE_FLAGS([-Wall -Wcast-qual -Wno-error=deprecated-declarations])
AX_APPEND_COMPILE_FLAGS([-Wextra -Wwrite-string -Wno-unused-parameter])
AX_APPEND_COMPILE_FLAGS([-D_GNU_SOURCE -D_REENTRANT])
--
2.15.1

View File

@@ -0,0 +1,13 @@
config BR2_PACKAGE_JSON_C
bool "json-c"
# uses __sync_val_compare_and_swap_4
depends on BR2_TOOLCHAIN_HAS_SYNC_4
help
JSON-C - A JSON implementation in C
JSON-C implements a reference counting object model that
allows you to easily construct JSON objects in C, output
them as JSON formatted strings and parse JSON formatted
strings back into the C representation of JSON objects.
https://github.com/json-c/json-c/

View File

@@ -0,0 +1,4 @@
# From https://github.com/json-c/json-c/wiki
sha256 0316780be9ad16c42d7c26b015a784fd5df4b0909fef0aba51cfb13e492ac24d json-c-0.13.tar.gz
# Locally calculated
sha256 74c1e6ca5eba76b54d0ad00d4815c8315c1b3bc45ff99de61d103dc92486284c COPYING

View File

@@ -0,0 +1,17 @@
################################################################################
#
# json-c
#
################################################################################
JSON_C_VERSION = 0.13
JSON_C_SITE = https://s3.amazonaws.com/json-c_releases/releases
JSON_C_INSTALL_STAGING = YES
JSON_C_LICENSE = MIT
JSON_C_LICENSE_FILES = COPYING
# Patching configure.ac
JSON_C_AUTORECONF = YES
$(eval $(autotools-package))
$(eval $(host-autotools-package))