diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-11 23:56:10 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-16 09:42:51 -0400 |
commit | ecc9709fc12cc8e1a07b062d07cb8a5b296888d7 (patch) | |
tree | 7bd4835f74490f6dbb0adec5fadf2f1a2281c9ff /cmd/pxe.c | |
parent | 137aefba0319eaa69de0707dce01d62339158d4d (diff) |
kbuild: fix dependency of DT build
I saw a DT build issue report some time before [1]. I was able to
reproduce the bug, and figure out the root cause.
Since commit 6d427c6b1fa0 ("binman: Automatically include a U-Boot
.dtsi file"), invalid .*.cmd files are generated.
Since that commit, DTS files are put into sed and piped to CPP.
Because CPP reads the stream from stdin, -Wp,-MD,$(depfile).pre.tmp
option generates a depfile with the target name "-". This is not
the format expected by fixdep.
Use one more temporary file instead of using pipe. With this, deps_
in the .*.cmd will be fixed. Having a temp file name in source_ is
odd, but it is unsed in the build system. Not a big deal.
[1] https://lists.denx.de/pipermail/u-boot/2017-June/294451.html
Fiexes: 6d427c6b1fa0 ("binman: Automatically include a U-Boot .dtsi file")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'cmd/pxe.c')
0 files changed, 0 insertions, 0 deletions