package/v4l2loopback: add V4L2LOOPBACK_LINUX_CONFIG_FIXUPS
Fix the following build failure: ERROR: modpost: "video_ioctl2" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! ERROR: modpost: "__video_register_device" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! ERROR: modpost: "v4l2_ctrl_new_custom" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! ERROR: modpost: "v4l2_ctrl_handler_init_class" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! ERROR: modpost: "video_device_alloc" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! ERROR: modpost: "v4l2_device_register" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! ERROR: modpost: "video_device_release" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! ERROR: modpost: "v4l2_ctrl_handler_free" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! ERROR: modpost: "v4l2_device_unregister" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! ERROR: modpost: "video_unregister_device" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined! Fixes: - http://autobuild.buildroot.org/results/640f8f61c7f433ffe5e9a6759eecc9a03f735569 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d51d4378ba
commit
aa61d29b84
|
@ -15,5 +15,15 @@ define V4L2LOOPBACK_INSTALL_TARGET_CMDS
|
||||||
endef
|
endef
|
||||||
endif
|
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 $(kernel-module))
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|
Loading…
Reference in a new issue