Re: [PATCH] kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build

2019-07-09 Thread Geert Uytterhoeven
Hi Yamada-san, On Tue, Jul 9, 2019 at 2:59 PM Masahiro Yamada wrote: > On Tue, Jul 9, 2019 at 9:45 PM Geert Uytterhoeven > wrote: > > On Tue, Jul 9, 2019 at 2:22 PM Masahiro Yamada > > wrote: > > > On Tue, Jul 9, 2019 at 5:31 PM Geert Uytterhoeven > > > wrote: > > > > On Sun, Apr 7, 2019 at

Re: [PATCH] kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build

2019-07-09 Thread Masahiro Yamada
Hi Geert, On Tue, Jul 9, 2019 at 9:45 PM Geert Uytterhoeven wrote: > > Hi Yamada-san, > > On Tue, Jul 9, 2019 at 2:22 PM Masahiro Yamada > wrote: > > On Tue, Jul 9, 2019 at 5:31 PM Geert Uytterhoeven > > wrote: > > > On Sun, Apr 7, 2019 at 12:45 PM Masahiro Yamada > > > wrote: > > > > After

Re: [PATCH] kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build

2019-07-09 Thread Geert Uytterhoeven
Hi Yamada-san, On Tue, Jul 9, 2019 at 2:22 PM Masahiro Yamada wrote: > On Tue, Jul 9, 2019 at 5:31 PM Geert Uytterhoeven > wrote: > > On Sun, Apr 7, 2019 at 12:45 PM Masahiro Yamada > > wrote: > > > After cross-compiling the kernel, "make mrproper" should be executed > > > with the proper

Re: [PATCH] kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build

2019-07-09 Thread Masahiro Yamada
Hi Geert, On Tue, Jul 9, 2019 at 5:31 PM Geert Uytterhoeven wrote: > > Hi Yamada-san, > > On Sun, Apr 7, 2019 at 12:45 PM Masahiro Yamada > wrote: > > After cross-compiling the kernel, "make mrproper" should be executed > > with the proper ARCH= option. Otherwise, stale objects will remain > >

Re: [PATCH] kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build

2019-07-09 Thread Geert Uytterhoeven
Hi Yamada-san, On Sun, Apr 7, 2019 at 12:45 PM Masahiro Yamada wrote: > After cross-compiling the kernel, "make mrproper" should be executed > with the proper ARCH= option. Otherwise, stale objects will remain > under arch/$(SRCARCH)/. > > One bad scenario is like this: > > $ make ARCH=arm

Re: [PATCH] kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build

2019-04-11 Thread Masahiro Yamada
On Sun, Apr 7, 2019 at 7:44 PM Masahiro Yamada wrote: > > After cross-compiling the kernel, "make mrproper" should be executed > with the proper ARCH= option. Otherwise, stale objects will remain > under arch/$(SRCARCH)/. > > One bad scenario is like this: > > $ make ARCH=arm defconfig all #

[PATCH] kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build

2019-04-07 Thread Masahiro Yamada
After cross-compiling the kernel, "make mrproper" should be executed with the proper ARCH= option. Otherwise, stale objects will remain under arch/$(SRCARCH)/. One bad scenario is like this: $ make ARCH=arm defconfig all # cross-compile the kernel for arm $ make mrproper #