bump version to 2022.02.9

add miyoo_defconfig
This commit is contained in:
tiopex
2023-01-31 13:11:45 +01:00
parent 1fa746c353
commit dcdaa3599c
8423 changed files with 184305 additions and 91107 deletions

View File

@@ -0,0 +1,60 @@
From 5d419c790e648c7a2f96f34ed1b93b326f725545 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sat, 13 Aug 2022 17:17:05 +0200
Subject: [PATCH] Makefile: fix build with kernel < 5.6
Fix the following build failure with kernel >= 5.1 and < 5.5 (i.e.
before
https://github.com/torvalds/linux/commit/9e3aa61ae3e01ce1ce6361a41ef725e1f4d1d2bf)
raised since version 0.11.21 and
https://github.com/ColinIanKing/stress-ng/commit/3d6fccdbe53d0cbcb75dd4b91571aaaae7ee1ad4:
In file included from stress-io-uring.c:26:
io-uring.h:1:9: error: macro names must be identifiers
1 | #define #define HAVE_IORING_OP_NOP 0
| ^
Moreover, IORING_OP_FALLOCATE is not available before kernel 5.6 and
https://github.com/torvalds/linux/commit/d63d1b5edb7b832210bfde587ba9e7549fa064eb
Fixes:
- http://autobuild.buildroot.org/results/1bf3f2bbc849bdce531d56b1024fa87f0c1ae667
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Retrieved (and backported) from
https://github.com/ColinIanKing/stress-ng/commit/5d419c790e648c7a2f96f34ed1b93b326f725545]
---
Makefile | 2 +-
stress-io-uring.c | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 2f9cc9918..ee17ae08b 100644
--- a/Makefile
+++ b/Makefile
@@ -528,7 +528,7 @@ stress-personality.c: personality.h
#
io-uring.h:
$(V)$(CPP) $(CFLAGS) core-io-uring.c | $(GREP) IORING_OP | sed 's/,//' | \
- sed 's/IORING_OP_/#define HAVE_IORING_OP_/' > io-uring.h
+ sed 's/.*\(IORING_OP_.*\)/#define HAVE_\1/' > io-uring.h
$(Q)echo "MK io-uring.h"
stress-io-uring.c: io-uring.h
diff --git a/stress-io-uring.c b/stress-io-uring.c
index ab9fd0749..84f463611 100644
--- a/stress-io-uring.c
+++ b/stress-io-uring.c
@@ -311,7 +311,11 @@ static inline int stress_io_uring_complete(
break;
cqe = &cring->cqes[head & *submit->cq_ring.ring_mask];
- if ((cqe->res < 0) && (opcode != IORING_OP_FALLOCATE)) {
+ if ((cqe->res < 0)
+#ifdef HAVE_IORING_OP_FALLOCATE
+ && (opcode != IORING_OP_FALLOCATE)
+#endif
+ ) {
const int err = abs(cqe->res);
/* Silently ignore EOPNOTSUPP completion errors */

View File

@@ -12,7 +12,7 @@ config BR2_PACKAGE_STRESS_NG
subsystems of a computer as well as the various operating
system kernel interfaces.
http://kernel.ubuntu.com/~cking/stress-ng/
https://github.com/ColinIanKing/stress-ng
comment "stress-ng needs a toolchain w/ headers >= 3.3"
depends on !BR2_nios2 && !BR2_arc

View File

@@ -1,3 +1,3 @@
# Locally calculated
sha256 860291dd3a18b985b3483190a627bbede2b5c52113766c1921001b3fb4b83af0 stress-ng-0.11.17.tar.xz
sha256 3de49e1100866634f549e99c1644283d0cde817b844a69dcf7f80afa2227d350 stress-ng-0.13.05.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING

View File

@@ -4,9 +4,8 @@
#
################################################################################
STRESS_NG_VERSION = 0.11.17
STRESS_NG_SOURCE = stress-ng-$(STRESS_NG_VERSION).tar.xz
STRESS_NG_SITE = http://kernel.ubuntu.com/~cking/tarballs/stress-ng
STRESS_NG_VERSION = 0.13.05
STRESS_NG_SITE = $(call github,ColinIanKing,stress-ng,V$(STRESS_NG_VERSION))
STRESS_NG_LICENSE = GPL-2.0+
STRESS_NG_LICENSE_FILES = COPYING