Re: [PATCH v1] kbuild: Disable compile testing if HAVE_LEGACY_CLK enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



25.05.2021 15:19, Geert Uytterhoeven пишет:
...
>>> There 3 possible solutions:
>>>
>>> 1. Factor out COMMON_CLK from HAVE_LEGACY_CLK, if this is possible
>>> 2. Build stubs universally, maybe using weak functions.
>>
>> I vote for this one - global stubs.
> 
> Yep.
> 
>> Or for a new one:
>> 4. Disable COMPILE_TEST for specific platforms (mentioned in commit
>> msg). Eventually could be like:
>> config RALINK
>>         depends !COMPILE_TEST || (COMPILE_TEST && COMMON_CLK)
> 
> That's a neat idea!
> 
> Of course there's a fifth option:
> 
> 5. Convert legacy platforms to COMMON_CLK.
> 
> Which is already happening for ARM EP93XX.

I'll try to take a closer look at alternative options, thank you for
yours input.



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux