DESCRIPTION = "Unisoc nv header crc tool for ota" HOMEPAGE = "http://www.unisoc.com/" LICENSE = "CLOSED" SECTION = "bin" DEPENDS = "" LIC_FILES_CHKSUM = "" PV = "0.1" PR = "r0" PROVIDES = "nvheadertool" BBCLASSEXTEND = "native" inherit deploy EXTERNALSRC = "${OEROOT}/source/unisoc/update/ota/nvheadertool" EXTERNALSRC_BUILD = "${EXTERNALSRC}" do_compile () { make clean make } do_install:append () { install -d ${D}${bindir}/ install -m 0777 ${S}/nvheadertool ${D}${bindir}/ #install -m 0777 ${S}/add_nv_header.py ${D}${bindir}/ } do_deploy(){ install -d ${DEPLOYDIR}/ install -m 755 ${S}/nvheadertool ${DEPLOYDIR}/nvheadertool install -m 755 ${S}/add_nv_header.py ${DEPLOYDIR}/add_nv_header.py } addtask deploy before do_build after do_install TARGET_CC_ARCH += "${LDFLAGS}"