Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1729780 > unrolled thread

[PATCH 3.16 121/233] tags: honor COMPILED_SOURCE with apart output directory

Started byBen Hutchings <ben@decadent.org.uk>
First post2017-09-10 01:20 +0200
Last post2017-09-10 01:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3.16 121/233] tags: honor COMPILED_SOURCE with apart  output directory Ben Hutchings <ben@decadent.org.uk> - 2017-09-10 01:20 +0200

#1729780 — [PATCH 3.16 121/233] tags: honor COMPILED_SOURCE with apart output directory

FromBen Hutchings <ben@decadent.org.uk>
Date2017-09-10 01:20 +0200
Subject[PATCH 3.16 121/233] tags: honor COMPILED_SOURCE with apart output directory
Message-ID<unXcC-3OU-47@gated-at.bofh.it>
3.16.48-rc1 review patch.  If anyone has any objections, please let me know.

------------------

From: Robert Jarzmik <robert.jarzmik@free.fr>

commit cbf52a3e6a8a92beec6e0c70abf4111cd8f8faf7 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 scripts/tags.sh | 1 +
 1 file changed, 1 insertion(+)

--- 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web