xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/iotop/iotop_1.21.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "A top utility for I/O"
2*4882a593SmuzhiyunLICENSE = "GPL-2.0-or-later"
3*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=48e7be78bd2671d08c9c3bad71f1cfaa"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunDEPENDS = "ncurses"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunSRC_URI = "https://github.com/Tomas-M/iotop/releases/download/v1.21/iotop-1.21.tar.xz"
8*4882a593SmuzhiyunSRC_URI[sha256sum] = "7b4862ebc93909a3f800193140ca2464e926291a9c873b50dc31fa77e6d9383e"
9*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://github.com/Tomas-M/iotop/releases"
10*4882a593Smuzhiyun
11*4882a593Smuzhiyuninherit pkgconfig
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunEXTRA_OEMAKE = "V=1 STRIP=true"
14*4882a593Smuzhiyun# Fixes llvm-bc70b5.o: can't link soft-float modules with double-float modules
15*4882a593SmuzhiyunEXTRA_OEMAKE:append:toolchain-clang:riscv64 = " NO_FLTO=1"
16*4882a593SmuzhiyunEXTRA_OEMAKE:append:toolchain-clang:riscv32 = " NO_FLTO=1"
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun# Workaround BFD linker crash with clang on arm
19*4882a593Smuzhiyun# revisit when upgrading binutils and see if its fixed
20*4882a593SmuzhiyunLDFLAGS:append:toolchain-clang:arm = " -fuse-ld=lld"
21*4882a593Smuzhiyun
22*4882a593Smuzhiyundo_install() {
23*4882a593Smuzhiyun    oe_runmake install DESTDIR=${D}
24*4882a593Smuzhiyun}
25