linux-next: build warning after merge of the v4l-dvb tree
Subsystems (3)
Hi all,
After merging the v4l-dvb tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:
WARNING: unmet direct dependencies detected for MEDIA_CONTROLLER_REQUEST_API
Depends on [n]: MEDIA_SUPPORT [=m] && MEDIA_CONTROLLER [=y] && STAGING_MEDIA [=n]
Selected by [m]:
- VIDEO_VIVID [=m] && MEDIA_SUPPORT [=m] && MEDIA_TEST_SUPPORT [=y] && V4L_TEST_DRIVERS [=y] && VIDEO_DEV [=m] && VIDEO_V4L2 [=m] && !SPARC32 && !SPARC64 && FB [=y] && HAS_DMA [=y]
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen,
Quoted 11 lines · Stephen Rothwell
Hi all,
After merging the v4l-dvb tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:WARNING: unmet direct dependencies detected for
MEDIA_CONTROLLER_REQUEST_API
Depends on [n]:MEDIA_SUPPORT[=m] &&MEDIA_CONTROLLER[=y] &&STAGING_MEDIA[=n]
Selected by [m]:
-VIDEO_VIVID[=m] &&MEDIA_SUPPORT[=m] &&MEDIA_TEST_SUPPORT[=y] &&V4L_TEST_DRIVERS[=y] &&VIDEO_DEV[=m] &&VIDEO_V4L2[=m] && !SPARC32 &&
!SPARC64 && FB [=y] &&HAS_DMA[=y]
Ugh, my bad. MEDIA_CONTROLLER_REQUEST_API can't depend on staging, after this recently merged commit:
"media: Kconfig: Don't expose the Request API option"
So, we should fix that with:
drivers/media/mc/Kconfig +1 -1
@@ -14,7 +14,7 @@ config MEDIA_CONTROLLER_DVB config MEDIA_CONTROLLER_REQUEST_API bool - depends on MEDIA_CONTROLLER && STAGING_MEDIA + depends on MEDIA_CONTROLLER help DO NOT ENABLE THIS OPTION UNLESS YOU KNOW WHAT YOU'RE DOING.
Mauro what do you think?
Mauro Carvalho Chehab
maintainerEm Fri, 17 Apr 2020 02:13:47 -0300 Ezequiel Garcia <[email protected]> escreveu:
Quoted 35 lines
Hi Stephen,
Quoted 11 lines · Stephen Rothwell
Hi all,
After merging the v4l-dvb tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:WARNING: unmet direct dependencies detected for
MEDIA_CONTROLLER_REQUEST_API
Depends on [n]:MEDIA_SUPPORT[=m] &&MEDIA_CONTROLLER[=y] &&STAGING_MEDIA[=n]
Selected by [m]:
-VIDEO_VIVID[=m] &&MEDIA_SUPPORT[=m] &&MEDIA_TEST_SUPPORT[=y] &&V4L_TEST_DRIVERS[=y] &&VIDEO_DEV[=m] &&VIDEO_V4L2[=m] && !SPARC32 &&
!SPARC64 && FB [=y] &&HAS_DMA[=y]Ugh, my bad.
MEDIA_CONTROLLER_REQUEST_APIcan't depend on staging, after this recently merged commit:"media:
Kconfig: Don't expose the Request API option"So, we should fix that with:
drivers/media/mc/Kconfig +1
-1@@ -14,7 +14,7 @@ config MEDIA_CONTROLLER_DVB config MEDIA_CONTROLLER_REQUEST_API bool - depends on MEDIA_CONTROLLER && STAGING_MEDIA + depends on MEDIA_CONTROLLER help DO NOT ENABLE THIS OPTION UNLESS YOU KNOW WHAT YOU'RE DOING.
Quoted 1 line
Mauro what do you think?
Dropped the dependency and applied on media.
I also addressed the "select PCI" issue, with causes troubles on s390 random configs (due to HAS_PCI=n on s390).
Thanks,
Mauro