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

- From: Greg KH \<gregkh@linuxfoundation.org\>
- Date: 2021-02-05 09:56:34 
- List: linux-kbuild
- Page: https://ratatoskr.run/linux-kbuild/2021/02/6259770
- Thread: https://ratatoskr.run/linux-pm/2021/02/6259759/t.md

```text
On Fri, Feb 05, 2021 at 05:44:12PM +0800, Yicong Yang wrote:
> From: Junhao He <redacted>
> 
> 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
```
