All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] v4l2loopback: enable required kernel options
@ 2020-04-11 22:25 James Hilliard
  2020-04-12  9:07 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2020-04-11 22:25 UTC (permalink / raw)
  To: buildroot

Fixes:
ERROR: "video_ioctl2" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "__video_register_device" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "v4l2_ctrl_new_custom" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "v4l2_ctrl_handler_init_class" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "video_device_release" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "video_device_alloc" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "v4l2_device_register" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "v4l2_ctrl_handler_free" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "v4l2_device_unregister" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "video_unregister_device" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
ERROR: "video_devdata" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 linux/linux.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/linux/linux.mk b/linux/linux.mk
index 3d9052a337..2dfbf25a6c 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -416,6 +416,10 @@ define LINUX_KCONFIG_FIXUP_CMDS
 		$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY,$(@D)/.config)
 		$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK,$(@D)/.config)
 		$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SELINUX,$(@D)/.config))
+	$(if $(BR2_PACKAGE_V4L2LOOPBACK),
+		$(call KCONFIG_ENABLE_OPT,CONFIG_MEDIA_SUPPORT,$(@D)/.config)
+		$(call KCONFIG_ENABLE_OPT,CONFIG_MEDIA_CAMERA_SUPPORT,$(@D)/.config)
+		$(call KCONFIG_ENABLE_OPT,CONFIG_VIDEO_DEV,$(@D)/.config))
 endef
 
 ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT),y)
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] v4l2loopback: enable required kernel options
  2020-04-11 22:25 [Buildroot] [PATCH 1/1] v4l2loopback: enable required kernel options James Hilliard
@ 2020-04-12  9:07 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-04-12  9:07 UTC (permalink / raw)
  To: buildroot

Hello James,

On Sat, 11 Apr 2020 16:25:42 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> Fixes:
> ERROR: "video_ioctl2" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "__video_register_device" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "v4l2_ctrl_new_custom" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "v4l2_ctrl_handler_init_class" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "video_device_release" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "video_device_alloc" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "v4l2_device_register" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "v4l2_ctrl_handler_free" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "v4l2_device_unregister" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "video_unregister_device" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> ERROR: "video_devdata" [/home/buildroot/buildroot/output/build/v4l2loopback-0.12.4/./v4l2loopback.ko] undefined!
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Thanks James. I'm going to mark this one as Changes Requested, as we
are soon going to merge the series from Yann that reworks how we handle
the interaction between enabled packages and kernel config options, see:

  http://patchwork.ozlabs.org/project/buildroot/list/?series=168565

If you can resend on top of this series, it would be ideal. Thanks!

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-12  9:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11 22:25 [Buildroot] [PATCH 1/1] v4l2loopback: enable required kernel options James Hilliard
2020-04-12  9:07 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.