forked from openembedded/meta-openembedded
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
liburing: Upgrade to 2.7 and fix build on riscv32
Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
Showing
2 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
...support/liburing/liburing/0001-test-Compile-nolibc.c-only-when-CONFIG_NOLIBC-is-set.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
From 7ea4e55a91e6d5564c6de762c2d1afc78ff9cfd3 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Mon, 16 Sep 2024 22:58:38 +0000 | ||
Subject: [PATCH] test: Compile nolibc.c only when CONFIG_NOLIBC is set | ||
|
||
building nolibc.c fails for non nolibc targets | ||
|
||
Fixes | ||
In file included from nolibc.c:33: | ||
./../src/lib.h:20:2: error: "This arch doesn't support building liburing without libc" | ||
20 | #error "This arch doesn't support building liburing without libc" | ||
| ^ | ||
1 error generated. | ||
|
||
Upstream-Status: Submitted [https://github.com/axboe/liburing/pull/1232] | ||
Signed-off-by: Khem Raj <[email protected]> | ||
--- | ||
test/Makefile | 5 ++++- | ||
1 file changed, 4 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/test/Makefile b/test/Makefile | ||
index 0538a75..0dfecb8 100644 | ||
--- a/test/Makefile | ||
+++ b/test/Makefile | ||
@@ -126,7 +126,6 @@ test_srcs := \ | ||
msg-ring-overflow.c \ | ||
multicqes_drain.c \ | ||
no-mmap-inval.c \ | ||
- nolibc.c \ | ||
nop-all-sizes.c \ | ||
nop.c \ | ||
ooo-file-unreg.c \ | ||
@@ -221,6 +220,10 @@ test_srcs := \ | ||
all_targets := | ||
include ../Makefile.quiet | ||
|
||
+ifeq ($(CONFIG_NOLIBC),y) | ||
+ test_srcs += nolibc.c | ||
+endif | ||
+ | ||
ifdef CONFIG_HAVE_STATX | ||
test_srcs += statx.c | ||
else ifdef CONFIG_HAVE_GLIBC_STATX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters