buildroot/package/v4l2loopback/v4l2loopback.mk
Alexandre Esse 6aeb2c97c2 v4l2loopback: new package
This package provides a kernel module and utilities in order to use
v4l2loopback virtual devices.  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.

Signed-off-by: Alexandre Esse <alexandre.esse.dev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-20 21:25:39 +02:00

20 lines
603 B
Makefile

################################################################################
#
# v4l2loopback
#
################################################################################
V4L2LOOPBACK_VERSION = v0.10.0
V4L2LOOPBACK_SITE = $(call github,umlaeute,v4l2loopback,$(V4L2LOOPBACK_VERSION))
V4L2LOOPBACK_LICENSE = GPL-2.0+
V4L2LOOPBACK_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_V4L2LOOPBACK_UTILS),y)
define V4L2LOOPBACK_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/utils/v4l2loopback-ctl $(TARGET_DIR)/usr/bin/v4l2loopback-ctl
endef
endif
$(eval $(kernel-module))
$(eval $(generic-package))