]> git.baikalelectronics.ru Git - uboot.git/commit
kbuild: fix DTB .cmd source variable
authorStephen Warren <swarren@nvidia.com>
Tue, 26 Feb 2019 19:20:26 +0000 (12:20 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 28 Feb 2019 19:21:46 +0000 (14:21 -0500)
commit87eb3321dac27fd709f2dab071fa2660b8793479
tree43699f19da48d7535839ab83a81aa622e4341e72
parentb4d3b3d3b6ed01935b21e528f12abed2bba5c6c6
kbuild: fix DTB .cmd source variable

*.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 <swarren@nvidia.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.lib