* Re: [PATCH v2 05/11] Kbuild: don't add obj tree in additional includes [not found] ` <21521763.EfAflxWUP8@wuerfel> @ 2016-07-19 14:33 ` Kalle Valo 2016-07-19 15:38 ` Arnd Bergmann 0 siblings, 1 reply; 3+ messages in thread From: Kalle Valo @ 2016-07-19 14:33 UTC (permalink / raw) To: Arnd Bergmann Cc: linux-arm-kernel, Michal Marek, netdev, dri-devel, linux-kernel, linux-kbuild, akpm, linux-wireless Arnd Bergmann <arnd@arndb.de> writes: > On Monday, July 18, 2016 10:14:39 PM CEST Michal Marek wrote: >> On Wed, Jun 15, 2016 at 05:45:47PM +0200, Arnd Bergmann wrote: >> > When building with separate object directories and driver specific >> > Makefiles that add additional header include paths, Kbuild adjusts >> > the gcc flags so that we include both the directory in the source >> > tree and in the object tree. >> > >> > However, due to another bug I fixed earlier, this did not actually >> > include the correct directory in the object tree, so we know that >> > we only really need the source tree here. Also, including the >> > object tree sometimes causes warnings about nonexisting directories >> > when the include path only exists in the source. >> > >> > This changes the logic to only emit the -I argument for the srctree, >> > not for objects. We still need both $(srctree)/$(src) and $(obj) >> > though, so I'm adding them manually. >> > >> > Signed-off-by: Arnd Bergmann <arnd@arndb.de> >> >> Hi Arnd, >> >> I applied the series up to this patch to kbuild.git#kbuild. The rest >> seem to be related but not dependent patches, so I'll leave it up to the >> respective maintainers to pick them up. Is that OK with you? > > I think that's fine, a couple were already picked up, and what I have > left now is > > a281bfa5713a [SUBMITTED 20160615] [EXPERIMENTAL] Kbuild: enable -Wmissing-include-dirs by default > 83934921e68e [SUBMITTED 20160615] rtlwifi: don't add include path for rtl8188ee Apparently[1] you didn't CC linux-wireless and that's why I didn't see the rtlwifi patch in wireless patchwork. Care to resend? [1] https://patchwork.kernel.org/patch/9178861/ -- Kalle Valo ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 05/11] Kbuild: don't add obj tree in additional includes 2016-07-19 14:33 ` [PATCH v2 05/11] Kbuild: don't add obj tree in additional includes Kalle Valo @ 2016-07-19 15:38 ` Arnd Bergmann 2016-07-19 18:07 ` Kalle Valo 0 siblings, 1 reply; 3+ messages in thread From: Arnd Bergmann @ 2016-07-19 15:38 UTC (permalink / raw) To: Kalle Valo, Greg Kroah-Hartman Cc: linux-arm-kernel, Michal Marek, netdev, dri-devel, linux-kernel, linux-kbuild, akpm, linux-wireless On Tuesday, July 19, 2016 5:33:44 PM CEST Kalle Valo wrote: > Arnd Bergmann <arnd@arndb.de> writes: > > > On Monday, July 18, 2016 10:14:39 PM CEST Michal Marek wrote: > >> On Wed, Jun 15, 2016 at 05:45:47PM +0200, Arnd Bergmann wrote: > >> > When building with separate object directories and driver specific > >> > Makefiles that add additional header include paths, Kbuild adjusts > >> > the gcc flags so that we include both the directory in the source > >> > tree and in the object tree. > >> > > >> > However, due to another bug I fixed earlier, this did not actually > >> > include the correct directory in the object tree, so we know that > >> > we only really need the source tree here. Also, including the > >> > object tree sometimes causes warnings about nonexisting directories > >> > when the include path only exists in the source. > >> > > >> > This changes the logic to only emit the -I argument for the srctree, > >> > not for objects. We still need both $(srctree)/$(src) and $(obj) > >> > though, so I'm adding them manually. > >> > > >> > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > >> > >> Hi Arnd, > >> > >> I applied the series up to this patch to kbuild.git#kbuild. The rest > >> seem to be related but not dependent patches, so I'll leave it up to the > >> respective maintainers to pick them up. Is that OK with you? > > > > I think that's fine, a couple were already picked up, and what I have > > left now is > > > > a281bfa5713a [SUBMITTED 20160615] [EXPERIMENTAL] Kbuild: enable -Wmissing-include-dirs by default > > 83934921e68e [SUBMITTED 20160615] rtlwifi: don't add include path for rtl8188ee > > Apparently[1] you didn't CC linux-wireless and that's why I didn't see > the rtlwifi patch in wireless patchwork. Care to resend? > > [1] https://patchwork.kernel.org/patch/9178861/ > Done. I've also thrown in two patches for drivers/staging/rtl8*/ that I submitted a while ago, but I'm not sure if they should get merged through the staging tree or the wireless tree. I had previously submitted those two as a combined patch along with a third one that turned out to be unnecessary. Arnd ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 05/11] Kbuild: don't add obj tree in additional includes 2016-07-19 15:38 ` Arnd Bergmann @ 2016-07-19 18:07 ` Kalle Valo 0 siblings, 0 replies; 3+ messages in thread From: Kalle Valo @ 2016-07-19 18:07 UTC (permalink / raw) To: Arnd Bergmann Cc: Greg Kroah-Hartman, linux-arm-kernel, Michal Marek, netdev, dri-devel, linux-kernel, linux-kbuild, akpm, linux-wireless Arnd Bergmann <arnd@arndb.de> writes: >> > I think that's fine, a couple were already picked up, and what I have >> > left now is >> > >> > a281bfa5713a [SUBMITTED 20160615] [EXPERIMENTAL] Kbuild: enable -Wmissing-include-dirs by default >> > 83934921e68e [SUBMITTED 20160615] rtlwifi: don't add include path for rtl8188ee >> >> Apparently[1] you didn't CC linux-wireless and that's why I didn't see >> the rtlwifi patch in wireless patchwork. Care to resend? >> >> [1] https://patchwork.kernel.org/patch/9178861/ >> > > Done. Thanks. > I've also thrown in two patches for drivers/staging/rtl8*/ that I > submitted a while ago, but I'm not sure if they should get merged > through the staging tree or the wireless tree. I had previously > submitted those two as a combined patch along with a third one that > turned out to be unnecessary. Greg applies drivers/staging patches to his staging tree, but I'll take the rtlwifi patch. -- Kalle Valo ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-19 18:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20160615154553.3177021-1-arnd@arndb.de>
[not found] ` <20160615154553.3177021-6-arnd@arndb.de>
[not found] ` <20160718201439.GA9053@sepie.suse.cz>
[not found] ` <21521763.EfAflxWUP8@wuerfel>
2016-07-19 14:33 ` [PATCH v2 05/11] Kbuild: don't add obj tree in additional includes Kalle Valo
2016-07-19 15:38 ` Arnd Bergmann
2016-07-19 18:07 ` Kalle Valo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox