[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAQaoaovbRmOqc80XF_EcwzE5Sju3ZXQDYSkQGSabxQj_A@mail.gmail.com>
Date: Tue, 9 Jul 2019 22:34:09 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Michal Marek <michal.lkml@...kovi.net>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kbuild: Inform user to pass ARCH= for make mrproper
On Tue, Jul 9, 2019 at 10:26 PM Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
>
> When cross-compiling an out-of-tree build with an unclean source tree
> directory, the build fails with:
>
> /path/to/kernel/source/tree is not clean, please run 'make mrproper'
> in the '/path/to/kernel/source/tree' directory.
>
> However, doing so does not fix the problem, as "make mrproper" now
> requires passing the target architecture to the make command, else it
> won't remove $(srctree)/arch/$(SRCARCH)/include/generated.
> "git ls-files -o" doesn't give a clue, as it doesn't list (empty)
> directories, only files.
>
> Improve usability by including the ARCH= option in the error output.
>
> Fixes: a788b2ed81abeb94 ("kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build")
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> ---
Applied to linux-kbuild. Thanks.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists