1*4882a593SmuzhiyunSUMMARY = "This is the io_uring library, liburing." 2*4882a593SmuzhiyunDESCRIPTION = "liburing provides helpers to setup and teardown io_uring \ 3*4882a593Smuzhiyuninstances, and also a simplified interface for applications that don't need \ 4*4882a593Smuzhiyun(or want) to deal with the full kernel side implementation." 5*4882a593SmuzhiyunHOMEPAGE = "https://github.com/axboe/liburing" 6*4882a593SmuzhiyunBUGTRACKER = "https://github.com/axboe/liburing/issues" 7*4882a593SmuzhiyunSECTION = "libs" 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunLICENSE = "LGPL-2.1-only | MIT" 10*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=d51b5805e2a675685e6a66ca50904cf9" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunSRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https \ 13*4882a593Smuzhiyun file://0001-test-Use-syscall-wrappers-instead-of-using-syscall-2.patch \ 14*4882a593Smuzhiyun " 15*4882a593SmuzhiyunSRC_URI:append:libc-musl:riscv64 = " file://0001-do-not-build-examples.patch " 16*4882a593SmuzhiyunSRC_URI:append:libc-musl:riscv32 = " file://0001-do-not-build-examples.patch " 17*4882a593SmuzhiyunSRCREV = "41a61c97c2e3df4475c93fdf5026d575ce3f1377" 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunS = "${WORKDIR}/git" 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunDEPENDS:append:libc-musl = " libucontext" 22*4882a593SmuzhiyunXCFLAGS = "-pthread" 23*4882a593SmuzhiyunXCFLAGS:append:libc-musl = " -lucontext" 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunEXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'LDFLAGS=${LDFLAGS}' 'XCFLAGS=${XCFLAGS}' 'BUILDDIR=${S}'" 26*4882a593Smuzhiyundo_configure() { 27*4882a593Smuzhiyun ${S}/configure --prefix=${prefix} --libdir=${libdir} --libdevdir=${libdir} --mandir=${mandir} --datadir=${datadir} --includedir=${includedir} 28*4882a593Smuzhiyun} 29*4882a593Smuzhiyundo_install () { 30*4882a593Smuzhiyun oe_runmake install DESTDIR=${D} 31*4882a593Smuzhiyun} 32