kumquat-buildroot/package/v4l2loopback/v4l2loopback.mk
Yann E. MORIN 74682e07df package/v4l2loopback: drop _CPE_ID_VENDOR
Commit 1edb9d691d (package/v4l2loopback: add
V4L2LOOPBACK_CPE_ID_VENDOR) added that variable, but set to its default
value.

This is however not required to define a valid CPE ID, as it also
defines a non-default CPE_ID_PREFIX.

Drop V4L2LOOPBACK_CPE_ID_VENDOR now.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-02-08 13:48:01 +01:00

31 lines
1.0 KiB
Makefile

################################################################################
#
# v4l2loopback
#
################################################################################
V4L2LOOPBACK_VERSION = 0.12.7
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_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)
endef
$(eval $(kernel-module))
$(eval $(generic-package))