developer | 930b9e5 | 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 | |||||
6 | S = "${WORKDIR}" | ||||
7 | |||||
8 | SRC_URI = " \ | ||||
9 | file://COPYING \ | ||||
10 | file://regs.c \ | ||||
11 | " | ||||
12 | |||||
13 | do_compile() { | ||||
14 | ${CC} ${CFLAGS} ${LDFLAGS} regs.c -o regs | ||||
15 | } | ||||
16 | |||||
17 | do_install() { | ||||
18 | install -d ${D}${base_bindir} | ||||
19 | install -m 0755 ${WORKDIR}/regs ${D}${base_bindir} | ||||
20 | } |