diff options
author | Wang Nan <wangnan0@huawei.com> | 2014-02-08 02:43:40 +0100 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2014-02-27 03:22:01 +0100 |
commit | 7b8853419d3344b06cff64b4dc926805698eeba5 (patch) | |
tree | a337763a602759682983238265515d52aeb74c91 /tools/lib/lockdep/common.c | |
parent | tools/liblockdep: Add a stub for new rcu_is_watching (diff) | |
download | linux-7b8853419d3344b06cff64b4dc926805698eeba5.tar.xz linux-7b8853419d3344b06cff64b4dc926805698eeba5.zip |
tools/liblockdep: Use realpath for srctree and objtree
If BUILD_SRC or CURDIR contains tailing '/', the file names passed to gcc will
contain '//'. It will be contained .o's in debuginfo, then confuse debugedit:
https://bugzilla.redhat.com/show_bug.cgi?id=304121
This patch uses realpath command to makesure potential tailing '/'s are removed.
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Geng Hui <hui.geng@huawei.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'tools/lib/lockdep/common.c')
0 files changed, 0 insertions, 0 deletions