| SUMMARY = "Wrapper for htool with USB device name support" |
| PR = "r1" |
| LICENSE = "Apache-2.0" |
| LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| |
| FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| |
| SRC_URI += " file://htool-wrapper.sh \ |
| file://test/run_tests.sh \ |
| file://test/htool_mock \ |
| " |
| |
| RDEPENDS:${PN} += "bash libhoth" |
| |
| do_test() { |
| chmod +x ${WORKDIR}/test/run_tests.sh |
| chmod +x ${WORKDIR}/test/htool_mock |
| ${WORKDIR}/test/run_tests.sh |
| } |
| addtask test after do_patch before do_compile |
| |
| do_install() { |
| install -d ${D}${bindir} |
| install -m 0755 ${WORKDIR}/htool-wrapper.sh ${D}${bindir}/htool-wrapper |
| |
| install -d ${D}${datadir}/${PN} |
| } |