On Thu, Feb 01, 2018 at 01:19:28PM +0000, Olivier MOYSAN wrote: > On 02/01/2018 10:10 AM, Ladislav Michl wrote: > > depends on (ARCH_STM32 && OF) || COMPILE_TEST ? > I can find in many configs "depends on OF && (ARCH_X || COMPILE_TEST)" > This seems reasonable to me, as the driver always requires OF > dependency, regardless the compilation context. > In fact, I cannot see why OF would not have to be selected > for COMPILE_TEST. There are some OF functions that are stubbed out when OF is disabled and some that aren't, if the driver is using the more obscure APIs that aren't stubbed it needs the hard dependency but if it's using the other bits that do have the stubs then it can be compile tested without OF being abled.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel