RE: [PATCH net-next v2] ethernet/intel: fix PTP_1588_CLOCK dependencies

From: Keller, Jacob E
Date: Wed Aug 04 2021 - 16:53:31 EST




> -----Original Message-----
> From: Richard Cochran <richardcochran@xxxxxxxxx>
> Sent: Tuesday, August 03, 2021 1:55 PM
> To: Arnd Bergmann <arnd@xxxxxxxxxx>
> Cc: Nicolas Pitre <nico@xxxxxxxxxxx>; Keller, Jacob E <jacob.e.keller@xxxxxxxxx>;
> Brandeburg, Jesse <jesse.brandeburg@xxxxxxxxx>; Nguyen, Anthony L
> <anthony.l.nguyen@xxxxxxxxx>; David S. Miller <davem@xxxxxxxxxxxxx>; Jakub
> Kicinski <kuba@xxxxxxxxxx>; Arnd Bergmann <arnd@xxxxxxxx>; Kurt
> Kanzenbach <kurt@xxxxxxxxxxxxx>; Saleem, Shiraz <shiraz.saleem@xxxxxxxxx>;
> Ertman, David M <david.m.ertman@xxxxxxxxx>; intel-wired-lan@xxxxxxxxxxxxxxxx;
> netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH net-next v2] ethernet/intel: fix PTP_1588_CLOCK
> dependencies
>
>
> On Tue, Aug 03, 2021 at 07:00:49PM +0200, Arnd Bergmann wrote:
>
> > If you turn all those 'select' lines into 'depends on', this will work, but it's
> > not actually much different from what I'm suggesting.
>
> "depends" instead of "select" works for me. I just want it simple and clear.
>
> > Maybe we can do it
> > in two steps: first fix the build failure by replacing all the 'imply'
> > statements
> > with the correct dependencies, and then you send a patch on top that
> > turns PPS and PTP_1588_CLOCK into bool options.
>
> Sounds good.
>
> Thanks,
> Richard

Works for me too.

Thanks,
Jake