Skip to content
  • Stephen Warren's avatar
    kbuild: fix DTB .cmd source variable · 8422ad51
    Stephen Warren authored and Tom Rini's avatar Tom Rini committed
    
    
    *.dts are processed using a custom command, then the C pre-processor is
    run on them, then they are compiled using dtc. Thus, the dependency
    files generated by both cpp and dtc reference a temporary file name
    rather than the actual source file. While this information isn't used
    for any purpose by the build system, and hence this causes no functional
    issue, it does cause the dependency files to contain invalid and
    confusing data, which is unhelpful while debugging build problems. Fix
    this using sed.
    
    Signed-off-by: Stephen Warren's avatarStephen Warren <swarren@nvidia.com>
    Reviewed-by: Masahiro Yamada's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    8422ad51