From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] liburing: add new rule
Date: Thu, 5 Nov 2020 11:45:27 +0100 [thread overview]
Message-ID: <20201105104527.15630-1-s.trumtrar@pengutronix.de> (raw)
Add the liburing package for io_uring instances.
From the README:
This is the io_uring library, liburing. liburing provides helpers to setup and
teardown io_uring instances, and also a simplified interface for
applications that don't need (or want) to deal with the full kernel
side implementation.
For more info on io_uring, please see:
https://kernel.dk/io_uring.pdf
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
rules/liburing.in | 9 ++++++++
rules/liburing.make | 53 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
create mode 100644 rules/liburing.in
create mode 100644 rules/liburing.make
diff --git a/rules/liburing.in b/rules/liburing.in
new file mode 100644
index 000000000000..b96282a0d07b
--- /dev/null
+++ b/rules/liburing.in
@@ -0,0 +1,9 @@
+## SECTION=system_libraries
+
+config LIBURING
+ tristate
+ prompt "liburing"
+ help
+ liburing provides helpers to setup and teardown io_uring instances,
+ and also a simplified interface for applications that don't need (or want)
+ to deal with the full kernel side implementation.
diff --git a/rules/liburing.make b/rules/liburing.make
new file mode 100644
index 000000000000..5bb367f749ab
--- /dev/null
+++ b/rules/liburing.make
@@ -0,0 +1,53 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Steffen Trumtrar <s.trumtrar@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBURING) += liburing
+
+#
+# Paths and names
+#
+LIBURING_VERSION := 0.7
+LIBURING_MD5 := 5a045dbf48a7a3fac228d92a9a049424
+LIBURING := liburing-$(LIBURING_VERSION)
+LIBURING_SUFFIX := tar.gz
+LIBURING_URL := https://github.com/axboe/liburing/archive/$(LIBURING).$(LIBURING_SUFFIX)
+LIBURING_SOURCE := $(SRCDIR)/$(LIBURING).$(LIBURING_SUFFIX)
+LIBURING_DIR := $(BUILDDIR)/$(LIBURING)
+LIBURING_LICENSE := MIT
+LIBURIGN_LICENSE_FILES := file://LICENSE;md5=f7c2200d2f904868b214103d0cbab6a9
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBURING_CONF_TOOL := NO
+LIBURING_MAKE_ENV := $(CROSS_ENV)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/liburing.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, liburing)
+ @$(call install_fixup, liburing,PRIORITY,optional)
+ @$(call install_fixup, liburing,SECTION,base)
+ @$(call install_fixup, liburing,AUTHOR,"Steffen Trumtrar <s.trumtrar@pengutronix.de>")
+ @$(call install_fixup, liburing,DESCRIPTION,missing)
+
+ @$(call install_lib, liburing, 0, 0, 0644, liburing)
+
+ @$(call install_finish, liburing)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2020-11-05 10:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-05 10:45 Steffen Trumtrar [this message]
2020-11-20 7:56 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201105104527.15630-1-s.trumtrar@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox