On 01/08/2018 06:57 AM, Felix Fietkau wrote:
> 
> 
>> On 8. Jan 2018, at 10:31, Florian Fainelli <f.faine...@gmail.com> wrote:
>>
>> When building with an external kernel tree, do not check the different
>> platform files since this is almost guaranteed they are going to differ.
>>
>> Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
> But that also means it’s almost always going to break if platform data is 
> involved on the external kernel tree.
> 
> - Felix

If these files are just getting removed from backports, then it will use
the kernel versions, this way the structures used by kernel and
backports will be the same and it we will run into a compile error in
case some member of a structure is accessed which is not in the kernel.

This will allow to compile all drivers except ath5k, ath9k and rt2x00
with external kernels and for these drivers it will work when the
appropriate changes to the kernel were added before. This will be
similar to how we handle bcma and ssb.

Hauke

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to