summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/liburing
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2020-08-24 08:43:59 +0200
committerKhem Raj <raj.khem@gmail.com>2020-08-25 10:39:27 -0700
commit4c7f8a09976f4b815500a2a68e1b2ca6434a25fa (patch)
treebddc846c6f74e90c8c62e91a44642e42103d526e /meta-oe/recipes-support/liburing
parent9efe7a412db8c2df6bd81087a2c289d1c5b63262 (diff)
downloadmeta-openembedded-4c7f8a09976f4b815500a2a68e1b2ca6434a25fa.tar.gz
liburing: add v0.7
Add initial support for liburing v0.7. Fix build with musl by linking and depending on libucontext Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/liburing')
-rw-r--r--meta-oe/recipes-support/liburing/liburing_0.7.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/liburing/liburing_0.7.bb b/meta-oe/recipes-support/liburing/liburing_0.7.bb
new file mode 100644
index 0000000000..3a1eaef873
--- /dev/null
+++ b/meta-oe/recipes-support/liburing/liburing_0.7.bb
@@ -0,0 +1,24 @@
1SUMMARY = "This is the io_uring library, liburing."
2DESCRIPTION = "liburing provides helpers to setup and teardown io_uring \
3instances, and also a simplified interface for applications that don't need \
4(or want) to deal with the full kernel side implementation."
5HOMEPAGE = "https://github.com/axboe/liburing"
6BUGTRACKER = "https://github.com/axboe/liburing/issues"
7SECTION = "libs"
8
9LICENSE = "LGPLv2.1 | MIT"
10LIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=d51b5805e2a675685e6a66ca50904cf9"
11
12SRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https"
13SRCREV = "45f0735219a615ae848033c47c7e2d85d101d43e"
14S = "${WORKDIR}/git"
15
16DEPENDS_append_libc-musl = " libucontext"
17XCFLAGS = "-pthread"
18XCFLAGS_append_libc-musl = " -lucontext"
19
20EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'LDFLAGS=${LDFLAGS}' 'XCFLAGS=${XCFLAGS}' 'BUILDDIR=${S}'"
21
22do_install () {
23 oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
24}