Re: [PATCH 2/2] kbuild: redefine __FILE__ as relative path from $(srctree) if possible

2017-10-14 Thread kbuild test robot
Hi Masahiro, [auto build test WARNING on mmarek/for-next] [also build test WARNING on next-20171013] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Masahiro-Yamada/kbuild-use-relative-path-from-

[PATCH 2/2] kbuild: redefine __FILE__ as relative path from $(srctree) if possible

2017-10-12 Thread Masahiro Yamada
Since Kbuild runs in the objtree, __FILE__ can be a very long path depending of $(srctree). Commit 9da0763bdd82 ("kbuild: Use relative path when building in a subdir of the source tree") made the situation better for cases where objtree is a child of srctree. ($(srctree) is "..") For other cases