xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/phytool/phytool.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "PHY interface tool for Linux"
2*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
3*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunPV = "2+git${SRCPV}"
6*4882a593SmuzhiyunSRCREV = "8882328c08ba2efb13c049812098f1d0cb8adf0c"
7*4882a593SmuzhiyunSRC_URI = "git://github.com/wkz/phytool.git;branch=master;protocol=https"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunS = "${WORKDIR}/git"
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun# The Makefile has "$PREFIX/bin" hardcoded into it, hence not using $bindir here
12*4882a593Smuzhiyundo_install() {
13*4882a593Smuzhiyun    install -d ${D}${prefix}/bin
14*4882a593Smuzhiyun    oe_runmake 'DESTDIR=${D}' 'PREFIX=${prefix}' install
15*4882a593Smuzhiyun}
16