meta-digi/meta-digi-dey/dynamic-layers/stm32mpu-ai/recipes-samples/object-detection/tflite-object-detection-pyt...

30 lines
945 B
Plaintext

# Copyright (C) 2024, Digi International Inc.
FILESEXTRAPATHS:prepend := "${THISDIR}/../common:"
SRC_URI += " \
file://scripts/launch_npu_demo.sh \
file://patches/0001-object-detection-remove-weston-user-check-from-launc.patch \
file://patches/0002-object-detection-reduce-font-size-for-big-screens.patch \
file://patches/0003-object-detection-set-camera-preview-to-640x480.patch \
"
do_install:append () {
# Install the generic launch script.
install -d ${D}${sysconfdir}/demos/scripts
install -m 755 ${WORKDIR}/scripts/launch_npu_demo.sh ${D}${sysconfdir}/demos/scripts/
# Create launch symlink for the demo.
ln -sf launch_npu_demo.sh ${D}${sysconfdir}/demos/scripts/launch_npu_demo_object_detection.sh
}
RDEPENDS:${PN} += " \
libdrm-tests \
"
FILES:${PN} += " \
${systemd_unitdir}/demos/scripts/* \
"
# Make this recipe available only for the CCMP25 platform.
COMPATIBLE_MACHINE = "(ccmp25)"