developer | 6fe1116 | 2022-04-15 15:55:45 +0800 | [diff] [blame] | 1 | SUMMARY = "An program to read/write from/to a pci device 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 | fd3f561 | 2022-11-03 17:43:30 +0800 | [diff] [blame] | 7 | file://COPYING;subdir=git/src \ |
| 8 | file://src;subdir=git \ |
developer | 6fe1116 | 2022-04-15 15:55:45 +0800 | [diff] [blame] | 9 | " |
| 10 | |
developer | fd3f561 | 2022-11-03 17:43:30 +0800 | [diff] [blame] | 11 | S = "${WORKDIR}/git/src" |
| 12 | |
developer | 6fe1116 | 2022-04-15 15:55:45 +0800 | [diff] [blame] | 13 | do_compile() { |
| 14 | ${CC} ${CFLAGS} ${LDFLAGS} regs.c -o regs |
| 15 | } |
| 16 | |
| 17 | do_install() { |
| 18 | install -d ${D}${base_bindir} |
developer | fd3f561 | 2022-11-03 17:43:30 +0800 | [diff] [blame] | 19 | install -m 0755 ${S}/regs ${D}${base_bindir} |
developer | 6fe1116 | 2022-04-15 15:55:45 +0800 | [diff] [blame] | 20 | } |