提交 cbf52a3e 编写于 作者: R Robert Jarzmik 提交者: Masahiro Yamada

tags: honor COMPILED_SOURCE with apart output directory

When the kernel is compiled with an "O=" argument, the object files are
not in the source tree, but in the build tree.

This patch fixes O= build by looking for object files in the build tree.

Fixes: 923e02ec ("scripts/tags.sh: Support compiled source")
Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 3def0344
......@@ -106,6 +106,7 @@ all_compiled_sources()
case "$i" in
*.[cS])
j=${i/\.[cS]/\.o}
j="${j#$tree}"
if [ -e $j ]; then
echo $i
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册