Re: [PATCH] kbuild: initialize CLANG_FLAGS correctly in the top Makefile

2019-07-30 Thread Masahiro Yamada
On Mon, Jul 29, 2019 at 6:16 PM Masahiro Yamada wrote: > > CLANG_FLAGS is initialized by the following line: > > CLANG_FLAGS := --target=$(notdir $(CROSS_COMPILE:%-=%)) > > ..., which is run only when CROSS_COMPILE is set. > > Some build targets (bindeb-pkg etc.) recurse to the top

Re: [PATCH] kbuild: initialize CLANG_FLAGS correctly in the top Makefile

2019-07-29 Thread Nick Desaulniers
On Mon, Jul 29, 2019 at 9:04 AM Nathan Chancellor wrote: > > On Mon, Jul 29, 2019 at 06:15:17PM +0900, Masahiro Yamada wrote: > > CLANG_FLAGS is initialized by the following line: > > > > CLANG_FLAGS := --target=$(notdir $(CROSS_COMPILE:%-=%)) > > > > ..., which is run only when

Re: [PATCH] kbuild: initialize CLANG_FLAGS correctly in the top Makefile

2019-07-29 Thread Nathan Chancellor
On Mon, Jul 29, 2019 at 06:15:17PM +0900, Masahiro Yamada wrote: > CLANG_FLAGS is initialized by the following line: > > CLANG_FLAGS := --target=$(notdir $(CROSS_COMPILE:%-=%)) > > ..., which is run only when CROSS_COMPILE is set. > > Some build targets (bindeb-pkg etc.) recurse to the

Re: [PATCH] kbuild: initialize CLANG_FLAGS correctly in the top Makefile

2019-07-29 Thread Masahiro Yamada
On Mon, Jul 29, 2019 at 6:16 PM Masahiro Yamada wrote: > > CLANG_FLAGS is initialized by the following line: > > CLANG_FLAGS := --target=$(notdir $(CROSS_COMPILE:%-=%)) > > ..., which is run only when CROSS_COMPILE is set. > > Some build targets (bindeb-pkg etc.) recurse to the top