rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | inherit deploy externalsrc |
| 2 | |
| 3 | DESCRIPTION = "MediaTek fastboot DA tool" |
| 4 | EXTERNALSRC = "${TOPDIR}/../src/devtools/datool" |
| 5 | EXTERNALSRC_BUILD = "${TOPDIR}/../src/devtools/datool" |
| 6 | |
| 7 | LICENSE = "BSD-3-Clause" |
| 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" |
| 9 | BBCLASSEXTEND = "native nativesdk" |
| 10 | ALLOW_EMPTY_${PN} = "1" |
| 11 | |
| 12 | do_install () { |
| 13 | } |
| 14 | |
| 15 | do_deploy () { |
| 16 | install -d ${DEPLOYDIR} |
| 17 | install -m 0644 fbtool.py -t ${DEPLOYDIR} |
| 18 | cp -af pyserial ${DEPLOYDIR} |
| 19 | } |
| 20 | |
| 21 | addtask deploy before do_build after do_compile |