[lkml]   [2017]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 3.16 121/233] tags: honor COMPILED_SOURCE with apart output directory
3.16.48-rc1 review patch.  If anyone has any objections, please let me know.


From: Robert Jarzmik <>

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/ Support compiled source")
Signed-off-by: Robert Jarzmik <>
Signed-off-by: Masahiro Yamada <>
Signed-off-by: Ben Hutchings <>
scripts/ | 1 +
1 file changed, 1 insertion(+)

--- a/scripts/
+++ b/scripts/
@@ -106,6 +106,7 @@ all_compiled_sources()
case "$i" in
+ j="${j#$tree}"
if [ -e $j ]; then
echo $i
 \ /
  Last update: 2017-09-10 01:15    [W:0.518 / U:1.076 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site