diff options
Diffstat (limited to 'yocto-poky/meta/recipes-extended/libaio/libaio_0.3.110.bb')
-rw-r--r-- | yocto-poky/meta/recipes-extended/libaio/libaio_0.3.110.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-extended/libaio/libaio_0.3.110.bb b/yocto-poky/meta/recipes-extended/libaio/libaio_0.3.110.bb new file mode 100644 index 0000000000..cbe29ce2ab --- /dev/null +++ b/yocto-poky/meta/recipes-extended/libaio/libaio_0.3.110.bb @@ -0,0 +1,29 @@ +SUMMARY = "Asynchronous I/O library" +DESCRIPTION = "Asynchronous input/output library that uses the kernels native interface" +HOMEPAGE = "http://lse.sourceforge.net/io/aio.html" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" + +SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \ + file://generic-arch-dectection-for-padding-defines.patch \ + file://00_arches.patch \ + file://destdir.patch \ + file://libaio_fix_for_x32.patch \ + file://libaio_fix_for_mips_syscalls.patch \ +" + +SRC_URI[md5sum] = "2a35602e43778383e2f4907a4ca39ab8" +SRC_URI[sha256sum] = "e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e" + +EXTRA_OEMAKE =+ "prefix=${prefix} includedir=${includedir} libdir=${libdir}" +# Need libc for stack-protector's __stack_chk_fail_local() bounce function +LDFLAGS_append_x86 = " -lc" + +do_configure () { + sed -i 's#LINK_FLAGS=.*#LINK_FLAGS=$(LDFLAGS)#' src/Makefile +} + +do_install () { + oe_runmake install DESTDIR=${D} +} |