Dear Silverstri,
I am not sure for which platform you are compiling Kernel.
But for X86(_64) and ARM, CONFIG_VIDEOBUF2_CORE will be selected as a module (will not build into kernel image static), this is the dependency VIDEOBUF2_DMA_CONTIG [=m] && MEDIA_SUPPORT [=m] && HAS_DMA [=y] || VIDEOBUF2_VMALLOC [=m] && MEDIA_SUPPORT [=m] || VIDEOBUF2_DMA_SG [=n] && MEDIA_SUPPORT [=m] || SOC_CAMERA [=m] && MEDIA_SUPPORT [=m] && V4L_PLATFORM_DRIVERS [=y] && VIDEO_V4L2 [=m] && HAS_DMA [=y] && I2C [=y].
select MEDIA_SUPPORT and SOC_CAMERA to build into kernel image static (when you select one of MEDIA_SUPPORT/SOC_CAMERA/VIDEO_V4L2 as build static into kernel, .config will have CONFIG_VIDEOBUF2_CORE=y instead of CONFIG_VIDEOBUF2_CORE=m)
For ARM board I used Device Drivers->Multimedia Support (make this to build into kernel instead of static)->V4L platform devices (make this to build into kernel instead of static)->Soc Camera Support(make this to build into kernel instead of static).