diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2019-07-09 15:26:39 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-11 00:05:09 +0900 |
commit | 3a475b2166fd6aa5ac76e8c605dffdf7a2a457ee (patch) | |
tree | c0e61588da2921d41e68f046c6a886fa155a3c3d /scripts | |
parent | b956c7a6df3aa01f357f8ac5bc3e44bc3ab7befb (diff) | |
download | linux-3a475b2166fd6aa5ac76e8c605dffdf7a2a457ee.tar.bz2 |
kbuild: Inform user to pass ARCH= for make mrproper
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: a788b2ed81ab ("kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions