Re: [RFC PATCH 1/2] kbuild: Pass HOSTCC and similar to tools Makefiles

2017-10-04 Thread Josh Poimboeuf
On Wed, Oct 04, 2017 at 09:09:51AM -0700, Doug Anderson wrote: > Hi, > > On Tue, Oct 3, 2017 at 9:07 PM, Guenter Roeck wrote: > > On Tue, Oct 3, 2017 at 8:20 PM, Masahiro Yamada > >> CC: for building tools that run on the target machine > >> HOSTCC: for building tools that run on the build ma

Re: [RFC PATCH 1/2] kbuild: Pass HOSTCC and similar to tools Makefiles

2017-10-04 Thread Doug Anderson
Hi, On Tue, Oct 3, 2017 at 9:07 PM, Guenter Roeck wrote: > On Tue, Oct 3, 2017 at 8:20 PM, Masahiro Yamada >> CC: for building tools that run on the target machine >> HOSTCC: for building tools that run on the build machine >> >> >> IMHO, this should be consistent to avoid confusion. >> >> >>

Re: [RFC PATCH 1/2] kbuild: Pass HOSTCC and similar to tools Makefiles

2017-10-03 Thread Guenter Roeck
On Tue, Oct 3, 2017 at 8:20 PM, Masahiro Yamada wrote: > 2017-10-04 5:48 GMT+09:00 Douglas Anderson : >> The main Linux Makefiles and the tools sub-Makefiles have different >> conventions for passing in CC / CFLAGS. >> >> Here's brief summary for the kernel: >> * CC: target C compiler (must be pas

Re: [RFC PATCH 1/2] kbuild: Pass HOSTCC and similar to tools Makefiles

2017-10-03 Thread Masahiro Yamada
2017-10-04 5:48 GMT+09:00 Douglas Anderson : > The main Linux Makefiles and the tools sub-Makefiles have different > conventions for passing in CC / CFLAGS. > > Here's brief summary for the kernel: > * CC: target C compiler (must be passed as an argument to make to > override) > * HOSTCC: host C

Re: [RFC PATCH 1/2] kbuild: Pass HOSTCC and similar to tools Makefiles

2017-10-03 Thread Guenter Roeck
On Tue, Oct 3, 2017 at 1:48 PM, Douglas Anderson wrote: > The main Linux Makefiles and the tools sub-Makefiles have different > conventions for passing in CC / CFLAGS. > > Here's brief summary for the kernel: > * CC: target C compiler (must be passed as an argument to make to > override) > * HOS

[RFC PATCH 1/2] kbuild: Pass HOSTCC and similar to tools Makefiles

2017-10-03 Thread Douglas Anderson
The main Linux Makefiles and the tools sub-Makefiles have different conventions for passing in CC / CFLAGS. Here's brief summary for the kernel: * CC: target C compiler (must be passed as an argument to make to override) * HOSTCC: host C compiler (must be passed as an argument to make to overr