Files
rpi-buildroot/package/v4l2loopback/Config.in
Peter Seiderer d023e7ad22 package/v4l2loopback: fix v4l2loopback-ctl compile/install
Since upstream commit [1] the original v4l2loopback-ctl bash script was
replaced by a C version, so add a proper compile step (and remove bash
runtime dependency) to fix '[help] v4l2loopback package build fails for
raspberrypi5' [2].

The issue can be reproduced with the commands:

    cat <<EOF >.config
    BR2_aarch64=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_LINUX_KERNEL=y
    BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
    BR2_PACKAGE_V4L2LOOPBACK=y
    BR2_PACKAGE_V4L2LOOPBACK_UTILS=y
    EOF
    make olddefconfig
    make v4l2loopback

Note: upstream commit [1] was introduced in version v0.13.0.
Buildroot bumped v4l2loopback to v0.13.2 in [3].

Fixes:

  /usr/bin/install: cannot stat
  '.../build/v4l2loopback-0.13.2/utils/v4l2loopback-ctl':
  No such file or directory

[1] 33922fa4e9
[2] https://lists.busybox.net/pipermail/buildroot/2025-March/775911.html
[3] 02540771bc

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Julien:
 - add commands to reproduce the issue
 - add reference to buildroot commit introducing the issue
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 5d85d23e16)
2025-04-07 15:33:09 +02:00

27 lines
809 B
Plaintext

config BR2_PACKAGE_V4L2LOOPBACK
bool "v4l2loopback"
depends on BR2_LINUX_KERNEL
help
This module allows you to create "virtual video devices".
Normal (v4l2) applications will read these devices as if
they were ordinary video devices, but the video will not be
read from e.g. a capture card but instead it is generated by
another application.
https://github.com/umlaeute/v4l2loopback
if BR2_PACKAGE_V4L2LOOPBACK
config BR2_PACKAGE_V4L2LOOPBACK_UTILS
bool "utils"
help
Install applications to interact with v4l2-loopback devices
("virtual video devices"). Currently there is only a single
command line utility: v4l2loopback-ctl: tool to set
framerate, format and timeout image.
endif
comment "v4l2loopback needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL