Xo Wang | 4ef18bf | 2016-10-24 18:44:49 -0700 | [diff] [blame] | 1 | DESCRIPTION = "Command line tools for hardware device registers" |
Patrick Venture | 7507209 | 2017-10-05 15:11:30 -0700 | [diff] [blame] | 2 | HOMEPAGE = "https://github.com/jonmayergoogle/iotools" |
Xo Wang | 4ef18bf | 2016-10-24 18:44:49 -0700 | [diff] [blame] | 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
Patrick Venture | 7507209 | 2017-10-05 15:11:30 -0700 | [diff] [blame] | 5 | SRCREV = "223a7be0885dd3d0dba910d55d06745bdfd846d8" |
| 6 | SRC_URI = "git://git@github.com/jonmayergoogle/iotools.git;protocol=https" |
Xo Wang | 4ef18bf | 2016-10-24 18:44:49 -0700 | [diff] [blame] | 7 | PV = "v1.6+git${SRCPV}" |
| 8 | |
Patrick Venture | f5952ed | 2017-10-05 16:25:40 -0700 | [diff] [blame^] | 9 | inherit obmc-phosphor-systemd |
| 10 | |
Xo Wang | 4ef18bf | 2016-10-24 18:44:49 -0700 | [diff] [blame] | 11 | S = "${WORKDIR}/git" |
| 12 | FILES_${PN} = "${sbindir}" |
| 13 | |
| 14 | do_compile() { |
| 15 | # CC is overridden in the Makefile, so override it harder in the invocation |
| 16 | oe_runmake CC="${CC}" DEBUG="${DEBUG_BUILD-0}" STATIC=0 |
| 17 | } |
| 18 | |
| 19 | # The "install" make target runs the binary to create links for subcommands. |
| 20 | # The links are excessive and this doesn't work for cross compiling. |
| 21 | do_install() { |
| 22 | install -d ${D}${sbindir} |
| 23 | install -m 0755 iotools ${D}${sbindir} |
| 24 | } |
Patrick Venture | f5952ed | 2017-10-05 16:25:40 -0700 | [diff] [blame^] | 25 | |
| 26 | SYSTEMD_SERVICE_${PN} += "iotools-setup.service" |