diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2016-05-24 12:54:30 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-26 10:29:11 +0200 |
commit | 6d5ec889cc0be9e3bbdbeaa862089f039a0fea36 (patch) | |
tree | 6c576acb051b307bd8d3e5f3532e80b6457c09cc /patches/libaio-0.3.110 | |
parent | 03aac15241bab441c7802bbabe659a2305809196 (diff) | |
download | ptxdist-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 'patches/libaio-0.3.110')
-rw-r--r-- | patches/libaio-0.3.110/0001-make-the-package-DESTDIR-aware.patch | 30 | ||||
-rw-r--r-- | patches/libaio-0.3.110/series | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/patches/libaio-0.3.110/0001-make-the-package-DESTDIR-aware.patch b/patches/libaio-0.3.110/0001-make-the-package-DESTDIR-aware.patch new file mode 100644 index 000000000..c0fd32f2b --- /dev/null +++ b/patches/libaio-0.3.110/0001-make-the-package-DESTDIR-aware.patch @@ -0,0 +1,30 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Thu, 26 May 2016 10:25:21 +0200 +Subject: [PATCH] make the package DESTDIR aware + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + src/Makefile | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index eadb336b47e3..8a037c865c29 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -53,11 +53,11 @@ $(libname): $(libaio_sobjs) libaio.map + $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS) + + install: $(all_targets) +- install -D -m 644 libaio.h $(includedir)/libaio.h +- install -D -m 644 libaio.a $(libdir)/libaio.a +- install -D -m 755 $(libname) $(libdir)/$(libname) +- ln -sf $(libname) $(libdir)/$(soname) +- ln -sf $(libname) $(libdir)/libaio.so ++ install -D -m 644 libaio.h $(DESTDIR)$(includedir)/libaio.h ++ install -D -m 644 libaio.a $(DESTDIR)$(libdir)/libaio.a ++ install -D -m 755 $(libname) $(DESTDIR)$(libdir)/$(libname) ++ ln -sf $(libname) $(DESTDIR)$(libdir)/$(soname) ++ ln -sf $(libname) $(DESTDIR)$(libdir)/libaio.so + + $(libaio_objs): libaio.h + diff --git a/patches/libaio-0.3.110/series b/patches/libaio-0.3.110/series new file mode 100644 index 000000000..1c5e0b993 --- /dev/null +++ b/patches/libaio-0.3.110/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-make-the-package-DESTDIR-aware.patch +# 2c519bc2ab00d1696f060ce28efb150a - git-ptx-patches magic |