Skip to content

Commit cbf52a3

Browse files
rjarzmikmasahir0y
authored andcommitted
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: 923e02e ("scripts/tags.sh: Support compiled source") Signed-off-by: Robert Jarzmik <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 3def034 commit cbf52a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: scripts/tags.sh

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ all_compiled_sources()
106106
case "$i" in
107107
*.[cS])
108108
j=${i/\.[cS]/\.o}
109+
j="${j#$tree}"
109110
if [ -e $j ]; then
110111
echo $i
111112
fi

0 commit comments

Comments
 (0)