From afde974a174d89d88be3ca7b1f950fae4bfc5691 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Wed, 17 Apr 2024 17:58:11 +0200 Subject: [PATCH] packagegroup-imx-ml: ccimx93: only install tensorflow-lite Rework commit c5c9838e54847624886198d4c6665566a4f3e979 to only limit ML packages for our ccimx93 and not for other imx93-based devices. Signed-off-by: Javier Viguera --- .../recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/dynamic-layers/meta-ml/recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend b/meta-digi-dey/dynamic-layers/meta-ml/recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend index e187c97cb..ef6cbd501 100644 --- a/meta-digi-dey/dynamic-layers/meta-ml/recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend +++ b/meta-digi-dey/dynamic-layers/meta-ml/recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend @@ -2,8 +2,12 @@ ML_NNSTREAMER_PKGS_LIST:remove = "nnstreamer-deepview-rt" -# Only install tensorflow-lite to save space -ML_PKGS:mx9-nxp-bsp:mx93-nxp-bsp = "tensorflow-lite" +ML_PKGS:mx9-nxp-bsp:remove = "deepview-rt-examples" + +# For the ccimx93 install only tensorflow-lite engine, as it is +# the only one supported in the NPU. This reduces significantly +# the rootfs image size. +ML_PKGS:ccimx93 = "tensorflow-lite" # ARM ethos-u package ETHOS_U_PKGS:append:mx93-nxp-bsp = " \