meta-imx/meta-ml/recipes-libraries/nn-imx/nn-imx_1.1.9.bb
Valentin Jec 06c73ccb76 Change SRC_URIs to point to github istead of CAF [YOCIMX-6516]
The NXP BSP is moving from CAF to github, so update the recipes URLs and set PREMIRRORS to override the SRC_URIs.

Also update the paths to point to git.codelinaro.org

Signed-off-by: Valentin Jec <jec.valentin@nxp.com>
2022-09-19 11:56:12 +03:00

33 lines
882 B
BlitzBasic

DESCRIPTION = "i.MX Neural Networks Accelerator Plugin"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bba6cdb9c2b03c849ed4975ed9ed90dc"
DEPENDS = "imx-gpu-viv"
NN-IMX_SRC ?= "git://github.com/nxp-imx/nn-imx.git;protocol=https"
SRCBRANCH = "imx_1.1.9"
SRCREV = "5ab0dc215f146158807b440f33dab0ceec4b2713"
SRC_URI = "${NN-IMX_SRC};branch=${SRCBRANCH}"
S = "${WORKDIR}/git/"
EXTRA_OEMAKE += "SDKTARGETSYSROOT=${STAGING_DIR_HOST} \
AQROOT=`pwd` \
"
TARGET_CC_ARCH += "${LDFLAGS}"
do_install () {
install -d ${D}${libdir}
install -d ${D}${includedir}/OVXLIB
install -d ${D}${includedir}/nnrt
cp -d ${S}/*.so* ${D}${libdir}
cp -r ${S}/include/OVXLIB/* ${D}/${includedir}/OVXLIB
cp -r ${S}/include/nnrt/* ${D}/${includedir}/nnrt
}
COMPATIBLE_MACHINE = "(mx8)"
COMPATIBLE_MACHINE_mx8mm = "(^$)"
COMPATIBLE_MACHINE_mx8mnlite = "(^$)"