30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
# Copyright (C) 2024-2026, Digi International Inc.
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/../common:${THISDIR}/files:"
|
|
|
|
SRC_URI += " \
|
|
file://scripts/launch_npu_demo.sh \
|
|
file://patches/0001-pose-estimation-remove-weston-user-check-from-launch.patch \
|
|
file://patches/0002-pose-estimation-reduce-font-size-for-big-screens.patch \
|
|
file://patches/0003-pose-estimation-set-camera-preview-to-640x480.patch \
|
|
${@bb.utils.contains("BBFILE_COLLECTIONS", "x-linux-isp", "file://patches/0004-pose-estimation-fix-initialization-issue-with-x-linu.patch", "", d)} \
|
|
file://patches/0005-pose-estimation-restore-V4L2SRC-pipeline-for-USB-Web.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_pose_estimation.sh
|
|
}
|
|
|
|
RDEPENDS:${PN} += " \
|
|
libdrm-tests \
|
|
dcmipp-isp-ctrl \
|
|
"
|
|
|
|
FILES:${PN} += " \
|
|
${systemd_unitdir}/demos/scripts/* \
|
|
"
|