]> git.dujemihanovic.xyz Git - u-boot.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)
commit8422ad51652f8f33acd3f03f24ec2aea73083eb7
tree43699f19da48d7535839ab83a81aa622e4341e72
parent2737dfe096b6c34654734a5a4dc5f4b4962c5617
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