Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
From f3aa381322a4b73b9ca4e7940f802d74324ef24b Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Mon, 2 Jul 2018 21:06:43 +0300
|
||||
Subject: [PATCH] stress-netlink-proc: fix build with kernel v3.9
|
||||
|
||||
The PROC_EVENT_COREDUMP has been introduced in kernel version 3.10.
|
||||
Don't use it with 3.9 headers.
|
||||
|
||||
Fixes build failure:
|
||||
|
||||
stress-netlink-proc.c: In function 'monitor':
|
||||
stress-netlink-proc.c:108:8: error: 'PROC_EVENT_COREDUMP' undeclared (first use in this function)
|
||||
case PROC_EVENT_COREDUMP:
|
||||
^
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Upstream status: https://github.com/ColinIanKing/stress-ng/pull/24
|
||||
|
||||
stress-netlink-proc.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/stress-netlink-proc.c b/stress-netlink-proc.c
|
||||
index 5845610dc816..6114a0b92af1 100644
|
||||
--- a/stress-netlink-proc.c
|
||||
+++ b/stress-netlink-proc.c
|
||||
@@ -104,7 +104,7 @@ static int monitor(const args_t *args, const int sock)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
|
||||
case PROC_EVENT_SID:
|
||||
#endif
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
|
||||
case PROC_EVENT_COREDUMP:
|
||||
#endif
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0)
|
||||
--
|
||||
2.18.0
|
||||
|
||||
@@ -7,8 +7,9 @@ config BR2_PACKAGE_STRESS_NG
|
||||
# perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
|
||||
depends on !BR2_microblaze # keyutils
|
||||
# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2
|
||||
# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2 and ARC
|
||||
depends on !BR2_nios2
|
||||
depends on !BR2_arc
|
||||
depends on !BR2_STATIC_LIBS # keyutils
|
||||
select BR2_PACKAGE_KEYUTILS # stress-key.c needs keyutils.h
|
||||
select BR2_PACKAGE_ATTR # stress-xattr.c needs xattr.h
|
||||
@@ -21,7 +22,7 @@ config BR2_PACKAGE_STRESS_NG
|
||||
http://kernel.ubuntu.com/~cking/stress-ng/
|
||||
|
||||
comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.3"
|
||||
depends on !BR2_microblaze && !BR2_nios2
|
||||
depends on !BR2_microblaze && !BR2_nios2 && !BR2_arc
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 \
|
||||
|| !BR2_TOOLCHAIN_USES_GLIBC
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 0e1d7733b35f594f7461dedbf836bd4966d0611da4cd4e85cde4804d2a425e6d stress-ng-0.06.15.tar.gz
|
||||
sha256 0de97212a83b2f8a34ee31ef32a7bc69066ed49ebdc59b51aa4060cb95e29321 stress-ng-0.09.32.tar.xz
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
STRESS_NG_VERSION = 0.06.15
|
||||
STRESS_NG_VERSION = 0.09.32
|
||||
STRESS_NG_SOURCE = stress-ng-$(STRESS_NG_VERSION).tar.xz
|
||||
STRESS_NG_SITE = http://kernel.ubuntu.com/~cking/tarballs/stress-ng
|
||||
STRESS_NG_LICENSE = GPLv2+
|
||||
STRESS_NG_LICENSE = GPL-2.0+
|
||||
STRESS_NG_LICENSE_FILES = COPYING
|
||||
|
||||
STRESS_NG_DEPENDENCIES = attr keyutils
|
||||
|
||||
Reference in New Issue
Block a user