mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-10-22 23:32:16 +02:00
31 lines
990 B
BlitzBasic
31 lines
990 B
BlitzBasic
# Copyright 2023-2024 NXP
|
|
DESCRIPTION = "The vela tool is used to compile a TensorFlow Lite for \
|
|
Microcontrollers neural network model into an optimised version that \
|
|
can run on an embedded system containing an Arm Ethos-U NPU"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
|
|
DEPENDS = "flatbuffers python3-numpy python3-lxml python3-numpy-native"
|
|
|
|
SRC_URI = "${VELA_SRC};branch=${SRCBRANCH}"
|
|
VELA_SRC ?= "git://github.com/nxp-imx/ethos-u-vela.git;protocol=https"
|
|
SRCBRANCH = "lf-6.12.3_1.0.0"
|
|
SRCREV = "f7ef4a32d1acfeeb2ab8ef5907e8f895fc997168"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit setuptools3
|
|
|
|
do_compile[network] = "1"
|
|
do_compile:prepend() {
|
|
export HTTP_PROXY=${http_proxy}
|
|
export HTTPS_PROXY=${https_proxy}
|
|
export http_proxy=${http_proxy}
|
|
export https_proxy=${https_proxy}
|
|
}
|
|
|
|
RDEPENDS:${PN} += "python3-flatbuffers python3-numpy python3-lxml"
|
|
|
|
COMPATIBLE_MACHINE = "(mx93-nxp-bsp)"
|
|
|
|
INSANE_SKIP:${PN} = "already-stripped"
|