developer | 6fe1116 | 2022-04-15 15:55:45 +0800 | [diff] [blame] | 1 | SUMMARY = "An program to read/write from/to phy from userspace" |
| 2 | SECTION = "applications" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c188eeeb69c0a05d0545816f1458a0c9" |
| 5 | |
developer | 6fe1116 | 2022-04-15 15:55:45 +0800 | [diff] [blame] | 6 | SRC_URI = " \ |
developer | 0a6593f | 2022-11-03 16:01:43 +0800 | [diff] [blame] | 7 | file://COPYING;subdir=git/src \ |
| 8 | file://src;subdir=git \ |
| 9 | file://fix-rdkb-wan-get-status-fail.patch \ |
developer | 6fe1116 | 2022-04-15 15:55:45 +0800 | [diff] [blame] | 10 | " |
| 11 | |
developer | 0a6593f | 2022-11-03 16:01:43 +0800 | [diff] [blame] | 12 | S = "${WORKDIR}/git/src" |
| 13 | |
developer | 6fe1116 | 2022-04-15 15:55:45 +0800 | [diff] [blame] | 14 | do_compile() { |
| 15 | ${CC} ${LDFLAGS} mii_mgr.c -o mii_mgr |
| 16 | } |
| 17 | |
| 18 | do_install() { |
| 19 | install -d ${D}${sbindir} |
developer | 0a6593f | 2022-11-03 16:01:43 +0800 | [diff] [blame] | 20 | install -m 0755 ${S}/mii_mgr ${D}${sbindir} |
| 21 | install -m 0755 ${S}/mii_mgr ${D}${sbindir}/mii_mgr_cl45 |
developer | 6fe1116 | 2022-04-15 15:55:45 +0800 | [diff] [blame] | 22 | } |