mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
tags: honor COMPILED_SOURCE with apart output directory
[ Upstream commitcbf52a3e6a] 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:923e02ecf3("scripts/tags.sh: Support compiled source") Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2ddfd31afc
commit
04e22d2e31
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user