trustfence-tool: install tool from local binaries

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2016-11-23 14:31:30 +01:00
parent 094c1ea38c
commit 37b9c9c5e3
3 changed files with 14 additions and 4 deletions

View File

@ -4,9 +4,19 @@ SUMMARY = "Trustfence command line tool"
SECTION = "console/tools"
LICENSE = "CLOSED"
SRC_URI = "${DIGI_PKG_SRC}/${BP}.tar.gz"
SRC_URI = "file://trustfence-tool"
SRC_URI[md5sum] = "9556aec9c9b0ef7e38606040e4f059d0"
SRC_URI[sha256sum] = "21f013616393883a5c3e0e9d7332e5d169af515f83b3a7dbf365e9ffbde1c593"
S = "${WORKDIR}"
inherit bin_package
INSANE_SKIP_${PN} = "already-stripped"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install() {
install -d ${D}${base_sbindir}
install -m 0755 trustfence-tool ${D}${base_sbindir}
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccimx6|ccimx6ul)"