mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-10-22 23:32:16 +02:00

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>
33 lines
882 B
BlitzBasic
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 = "(^$)"
|