[U-Boot] [PATCH 2/2] kbuild: fix DTB .cmd source variable

Masahiro Yamada yamada.masahiro at socionext.com
Wed Feb 27 04:58:41 UTC 2019


On Wed, Feb 27, 2019 at 4:20 AM Stephen Warren <swarren at wwwdotorg.org> wrote:
>
> From: Stephen Warren <swarren at nvidia.com>
>
> *.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,

Right, not used in U-Boot.

The 'source_*' is only used by scripts/mod/sumversion.c in Linux.


Anyway, the .*.cmd files will look better.



Reviewed-by: Masahiro Yamada <yamada.masahiro at socionext.com>



> 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 <swarren at nvidia.com>
> ---


-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list