projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3def034
)
tags: honor COMPILED_SOURCE with apart output directory
author
Robert Jarzmik
<robert.jarzmik@free.fr>
Mon, 5 Jun 2017 11:59:15 +0000
(13:59 +0200)
committer
Masahiro Yamada
<yamada.masahiro@socionext.com>
Mon, 5 Jun 2017 23:42:34 +0000
(08:42 +0900)
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:
923e02ecf3f8
("scripts/tags.sh: Support compiled source")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/tags.sh
patch
|
blob
|
blame
|
history
diff --git
a/scripts/tags.sh
b/scripts/tags.sh
index d661f2f3ef614c41e22f2346ee9b41b238266715..d23dcbf17457c2c16cf56c73a1ffb3d07e03a257 100755
(executable)
--- a/
scripts/tags.sh
+++ b/
scripts/tags.sh
@@
-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