| inherit deploy workonsrc |
| |
| DESCRIPTION = "crypt_tool" |
| LICENSE = "MediaTekProprietary" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff" |
| MTK_SRC = "${TOPDIR}/../src/devtools/nfsb/crypt_tool" |
| |
| WORKONSRC = "${MTK_SRC}" |
| |
| INSANE_SKIP_${PN} += "installed-vs-shipped" |
| INSANE_SKIP_${PN} += "already-stripped" |
| |
| EXTRA_OEMAKE = "CROSS=${TARGET_PREFIX} OUT=${WORKDIR} ARCH=${KERNEL_ARCH} DM_PROTECT_KEY=${MTK_KEY_DIR}/${DM_PROTECT_ENC_KEY}" |
| |
| INSANE_SKIP_${PN} = "ldflags" |
| INSANE_SKIP_${PN}-dev = "ldflags already-stripped" |
| FILES_${PN} = "${bindir}/crypt_target_tool" |
| FILES_${PN} += "${bindir}/dmsetup" |
| FILES_${PN} += "${libdir}/libdevmapper.so.1.02" |
| |
| DEPENDS += " tzapp " |
| |
| do_compile () { |
| oe_runmake all |
| } |
| |
| do_install () { |
| oe_runmake install DESTDIR="${D}" |
| } |
| |
| |