summaryrefslogtreecommitdiffstats
path: root/rules/host-libaio.make
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2016-05-24 12:54:30 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 10:29:11 +0200
commit6d5ec889cc0be9e3bbdbeaa862089f039a0fea36 (patch)
tree6c576acb051b307bd8d3e5f3532e80b6457c09cc /rules/host-libaio.make
parent03aac15241bab441c7802bbabe659a2305809196 (diff)
downloadptxdist-6d5ec889cc0be9e3bbdbeaa862089f039a0fea36.tar.gz
ptxdist-6d5ec889cc0be9e3bbdbeaa862089f039a0fea36.tar.xz
libaio: add new package
This library simplifies the use of asynchronous I/O access the Linux kernel supports. In order to make use of this feature, the kernel's CONFIG_AIO is set. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> [mol: fix DESTDIR handling] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-libaio.make')
-rw-r--r--rules/host-libaio.make24
1 files changed, 24 insertions, 0 deletions
diff --git a/rules/host-libaio.make b/rules/host-libaio.make
new file mode 100644
index 000000000..6cfe80539
--- /dev/null
+++ b/rules/host-libaio.make
@@ -0,0 +1,24 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Juergen Borleis <jbe@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBAIO) += host-libaio
+
+# ----------------------------------------------------------------------------
+# Prepare + Compile
+# ----------------------------------------------------------------------------
+
+HOST_LIBAIO_CONF_TOOL := NO
+HOST_LIBAIO_MAKE_ENV := $(HOST_ENV)
+HOST_LIBAIO_MAKEVARS := prefix=
+
+# vim: syntax=make