package/v4l2loopback: enable CONFIG_MEDIA_CAMERA_SUPPORT kernel option
Setting CONFIG_VIDEO_DEV is no sufficient as drivers/media/Kconfig has some very convoluted logic to hide some options behind a CONFIG_MEDIA_SUPPORT_FILTER option, unless CONFIG_EXPERT is enabled. Due to this, several arch defconfigs don't have CONFIG_VIDEO_DEV enabled when doing $(call KCONFIG_ENABLE_OPT,CONFIG_VIDEO_DEV). To fix this, we enable one of the possible options that ensures CONFIG_VIDEO_DEV is enabled, and we've more or less arbitrarily chosen CONFIG_MEDIA_CAMERA_SUPPORT. Fixes: http://autobuild.buildroot.net/results/2a337d29e7870564027bcd42bd0addd228eb6a24/ We've tried to track down which kernel version introduced this exactly, but it's been introduced a while ago and step by step making it difficult to pin-point which version version exactly introduced this. But the issue has been appearing for quite some time in the autobuilders, so it's clearly not a recent issue. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit 75d418b59d4ffe251ffcd49c06ccf0f1d0b86e04) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
445badfa8b
commit
d1b481bf80
@ -24,6 +24,7 @@ define V4L2LOOPBACK_LINUX_CONFIG_FIXUPS
|
||||
$(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))
|
||||
|
Loading…
Reference in New Issue
Block a user