• Masahiro Yamada's avatar
    kbuild: clarify where to run make mrproper when out-of-tree fails · 1a475d54
    Masahiro Yamada authored
    If you try out-of-tree build with an unclean source tree, Kbuild
    suggests to run make mrproper. The path to the source tree may be
    shown with a relative path, for example, "make O=foo" emits the
    following:
    
      .. is not clean, please run 'make mrproper'
      in the '..' directory.
    
    This is somewhat confusing if you ran "make O=foo" in the source tree.
    Using the absolute path will be clearer.
    
    This commit changes the error message like follows:
    
    ***
    *** The source tree is not clean, please run 'make mrproper'
    *** in /absolute/path/to/linux
    ***
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    1a475d54
Makefile 59.8 KB