Skip to contentSkip to conversation

Patch "tags: honor COMPILED_SOURCE with apart output directory" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Apr 10, 2018 Stable branch

lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

tags: honor COMPILED_SOURCE with apart output directory

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
tags-honor-compiled_source-with-apart-output-directory.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Tue Apr 10 10:31:53 CEST 2018

From: Robert Jarzmik <[email protected]>
Date: Mon, 5 Jun 2017 13:59:15 +0200
Subject: tags: honor COMPILED_SOURCE with apart output directory

From: Robert Jarzmik <[email protected]>

[ Upstream commit cbf52a3e6a8a92beec6e0c70abf4111cd8f8faf7 ]

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")
---
 scripts/tags.sh |    1 +
 1 file changed, 1 insertion(+)
scripts/tags.sh +1 -0
@@ -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

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/tags-honor-compiled_source-with-apart-output-directory.patch