lkml.org 
[lkml]   [2018]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.4 123/190] tags: honor COMPILED_SOURCE with apart output directory
    Date
    4.4-stable review patch.  If anyone has any objections, please let me know.

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

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


    [ 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")
    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>
    ---
    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

    \
     
     \ /
      Last update: 2018-04-11 22:34    [W:4.137 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site