Initial Commit
- initial default booting image
This commit is contained in:
26
package/v4l2loopback/Config.in
Normal file
26
package/v4l2loopback/Config.in
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
3
package/v4l2loopback/v4l2loopback.hash
Normal file
3
package/v4l2loopback/v4l2loopback.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 2758ea287da8dd34a0421c0dd50094a0342d22414e1bbccbbe92f41bbaa26b2d v4l2loopback-0.15.3.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
35
package/v4l2loopback/v4l2loopback.mk
Normal file
35
package/v4l2loopback/v4l2loopback.mk
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# v4l2loopback
|
||||
#
|
||||
################################################################################
|
||||
|
||||
V4L2LOOPBACK_VERSION = 0.15.3
|
||||
V4L2LOOPBACK_SITE = $(call github,umlaeute,v4l2loopback,v$(V4L2LOOPBACK_VERSION))
|
||||
V4L2LOOPBACK_LICENSE = GPL-2.0+
|
||||
V4L2LOOPBACK_LICENSE_FILES = COPYING
|
||||
V4L2LOOPBACK_CPE_ID_PREFIX = cpe:2.3:o
|
||||
|
||||
ifeq ($(BR2_PACKAGE_V4L2LOOPBACK_UTILS),y)
|
||||
define V4L2LOOPBACK_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) utils
|
||||
endef
|
||||
|
||||
define V4L2LOOPBACK_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/utils/v4l2loopback-ctl $(TARGET_DIR)/usr/bin/v4l2loopback-ctl
|
||||
endef
|
||||
endif
|
||||
|
||||
# CONFIG_MEDIA_SUPPORT depends on CONFIG_HAS_IOMEM, which is only
|
||||
# available when CONFIG_PCI=y on S390. CONFIG_VIDEO_DEV needs
|
||||
# CONFIG_I2C since Linux 5.18.
|
||||
define V4L2LOOPBACK_LINUX_CONFIG_FIXUPS
|
||||
$(if $(BR2_s390x),$(call KCONFIG_ENABLE_OPT,CONFIG_PCI))
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_MEDIA_SUPPORT)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_I2C)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_VIDEO_DEV)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_MEDIA_CAMERA_SUPPORT)
|
||||
endef
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user