diff options
| author | Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> | 2025-04-30 11:17:59 -0300 |
|---|---|---|
| committer | Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> | 2025-05-14 18:12:22 -0300 |
| commit | 605cd0f39e0717a063b715568c14421265c94d55 (patch) | |
| tree | 9d17a5fe885aca2a7a87bb1ff434636be1bdb812 | |
| parent | 503d1d931be10c869702eae0425428fdbcdb953b (diff) | |
| download | meta-freescale-605cd0f39e0717a063b715568c14421265c94d55.tar.gz | |
ethos-u-driver-stack: Add recipe to ethos-u-driver-stack
The ethos-u-driver-stack recipe is used by imx93 machines
to install ethos driver.
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
| -rw-r--r-- | recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb new file mode 100644 index 000000000..e77bcf85d --- /dev/null +++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | SUMMARY = "The Linux driver stack for Arm(R) Ethos(TM)-U NPU" | ||
| 2 | DESCRIPTION = "The Linux driver stack for Arm(R) Ethos(TM)-U provides \ | ||
| 3 | an example of how a rich operating system like Linux can dispatch \ | ||
| 4 | inferences to an Arm Cortex(R)-M subsystem, consisting of an Arm \ | ||
| 5 | Cortex-M of choice and an Arm Ethos-U NPU." | ||
| 6 | LICENSE = "Apache-2.0" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e" | ||
| 8 | |||
| 9 | DEPENDS = "flatbuffers python3-pybind11 python3-pybind11-native" | ||
| 10 | |||
| 11 | SRC_URI = "${ETHOS_U_SRC};branch=${SRCBRANCH}" | ||
| 12 | ETHOS_U_SRC ?= "git://github.com/nxp-imx/ethos-u-driver-stack-imx.git;protocol=https" | ||
| 13 | SRCBRANCH = "lf-6.12.3_1.0.0" | ||
| 14 | SRCREV = "a80c51d77c91f1a8266afc5d8056fb981de4b504" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit cmake setuptools3 | ||
| 19 | |||
| 20 | SETUPTOOLS_BUILD_ARGS = "build_ext --library-dirs ${B}/driver_library" | ||
| 21 | |||
| 22 | do_configure() { | ||
| 23 | cmake_do_configure | ||
| 24 | } | ||
| 25 | |||
| 26 | do_compile () { | ||
| 27 | cmake_do_compile | ||
| 28 | setuptools3_do_compile | ||
| 29 | } | ||
| 30 | |||
| 31 | do_install () { | ||
| 32 | cmake_do_install | ||
| 33 | setuptools3_do_install | ||
| 34 | } | ||
| 35 | |||
| 36 | RDEPENDS:${PN} = "flatbuffers python3-numpy python3-pillow" | ||
| 37 | |||
| 38 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp)" | ||
