Bump buildroot to 2019.02

This commit is contained in:
2019-03-28 22:49:48 +01:00
parent 5598b1b762
commit 920d307141
5121 changed files with 78550 additions and 46132 deletions

View File

@@ -0,0 +1,35 @@
From dd8449ae3ba7fd05ac172f0227cd93af7f37005e Mon Sep 17 00:00:00 2001
From: Joel Carlson <joelsoncarl@gmail.com>
Date: Mon, 1 Oct 2018 15:01:56 -0600
Subject: [PATCH] examples: uptime: include stdint.h before cmocka.h
Fixes a build error encountered on one MIPS64 toolchain about uintptr_t
being declared twice, first by cmocka.h and then later by the toolchains
stdint.h.
Fixes #7
Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
---
Fixes build error with br-mips64-n64-full
Upstream commit: dd8449ae3ba7fd05ac172f0227cd93af7f37005e
---
example/mock/uptime/test_uptime.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/example/mock/uptime/test_uptime.c b/example/mock/uptime/test_uptime.c
index badfac9..183c276 100644
--- a/example/mock/uptime/test_uptime.c
+++ b/example/mock/uptime/test_uptime.c
@@ -16,6 +16,7 @@
#include <stdarg.h>
#include <stddef.h>
+#include <stdint.h>
#include <setjmp.h>
#include <cmocka.h>
--
2.17.1

View File

@@ -0,0 +1,15 @@
config BR2_PACKAGE_CMOCKA
bool cmocka
depends on !BR2_STATIC_LIBS
help
cmocka is an elegant unit testing framework for C with support
for mock objects. It only requires the standard C library,
works on a range of computing platforms (including embedded)
and with different compilers. It is a fork of Google's very
popular cmockery unit testing framework to fix bugs and
support it in the future.
https://cmocka.org
comment "cmocka needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 43eabcf72a9c80e3d03f7c8a1c04e408c18d2db5121eb058a3ef732a9dfabfaf cmocka-1.1.3.tar.xz
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING

View File

@@ -0,0 +1,23 @@
################################################################################
#
# cmocka
#
################################################################################
CMOCKA_VERSION = 1.1.3
CMOCKA_SOURCE = cmocka-$(CMOCKA_VERSION).tar.xz
CMOCKA_SITE = https://cmocka.org/files/1.1
CMOCKA_LICENSE = Apache-2.0
CMOCKA_LICENSE_FILES = COPYING
CMOCKA_INSTALL_STAGING = YES
# cmocka only supports out of source builds
CMOCKA_SUPPORTS_IN_SOURCE_BUILD = NO
# cmocka always builds a shared library, but you can optionally build a static
# library as well
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
CMOCKA_CONF_OPTS += -DWITH_STATIC_LIB=ON
endif
$(eval $(cmake-package))