Re: [PATCH 1/4] driver core: Use subdir-ccflags-* to inherit debug flag

From: Greg KH
Date: Fri Feb 05 2021 - 04:56:34 EST


On Fri, Feb 05, 2021 at 05:44:12PM +0800, Yicong Yang wrote:
> From: Junhao He <hejunhao2@xxxxxxxxxxxxx>
>
> Use subdir-ccflags-* instead of ccflags-* to inherit the debug
> settings from Kconfig when traversing subdirectories.

That says what you do, but not _why_ you are doing it.

What does this offer in benefit of the existing way? What is it fixing?
Why do this "churn"?

thanks,

greg k-h