xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/liburcu/liburcu_0.13.2.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Userspace RCU (read-copy-update) library"
2*4882a593SmuzhiyunDESCRIPTION = "A userspace RCU (read-copy-update) library. This data \
3*4882a593Smuzhiyunsynchronization library provides read-side access which scales linearly \
4*4882a593Smuzhiyunwith the number of cores. "
5*4882a593SmuzhiyunHOMEPAGE = "http://lttng.org/urcu"
6*4882a593SmuzhiyunBUGTRACKER = "http://lttng.org/project/issues"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunLICENSE = "LGPL-2.1-or-later & MIT"
9*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=e548d28737289d75a8f1e01ba2fd7825 \
10*4882a593Smuzhiyun                    file://include/urcu/urcu.h;beginline=4;endline=32;md5=4de0d68d3a997643715036d2209ae1d9 \
11*4882a593Smuzhiyun                    file://include/urcu/uatomic/x86.h;beginline=4;endline=21;md5=58e50bbd8a2f073bb5500e6554af0d0b"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunSRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSRC_URI[sha256sum] = "1213fd9f1b0b74da7de2bb74335b76098db9738fec5d3cdc07c0c524f34fc032"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunS = "${WORKDIR}/userspace-rcu-${PV}"
18*4882a593Smuzhiyuninherit autotools multilib_header
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunCPPFLAGS:append:riscv64  = " -pthread -D_REENTRANT"
21*4882a593Smuzhiyun
22*4882a593Smuzhiyundo_install:append() {
23*4882a593Smuzhiyun    oe_multilib_header urcu/config.h
24*4882a593Smuzhiyun}
25