diff options
Diffstat (limited to 'meta-phosphor/recipes-devtools/iotools/iotools_1.6.bb')
-rw-r--r-- | meta-phosphor/recipes-devtools/iotools/iotools_1.6.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-devtools/iotools/iotools_1.6.bb b/meta-phosphor/recipes-devtools/iotools/iotools_1.6.bb new file mode 100644 index 000000000..af2cc76ac --- /dev/null +++ b/meta-phosphor/recipes-devtools/iotools/iotools_1.6.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Command line tools for hardware device registers" +HOMEPAGE = "https://github.com/jonmayergoogle/iotools" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" +SRCREV = "8d928b3360246b8ead95b442ca3887ce8b8f942f" +SRC_URI = "git://git@github.com/jonmayergoogle/iotools.git;protocol=https" +PV = "v1.6+git${SRCPV}" + +inherit obmc-phosphor-systemd + +S = "${WORKDIR}/git" +FILES_${PN} = "${sbindir}" + +do_compile() { + # CC is overridden in the Makefile, so override it harder in the invocation + oe_runmake CC="${CC}" DEBUG="${DEBUG_BUILD-0}" STATIC=0 +} + +# The "install" make target runs the binary to create links for subcommands. +# The links are excessive and this doesn't work for cross compiling. +do_install() { + install -d ${D}${sbindir} + install -m 0755 iotools ${D}${sbindir} +} + +SYSTEMD_SERVICE_${PN} += "iotools-setup.service" |