Home
last modified time | relevance | path

Searched hist:"96 f111c8b8148a57efa83a1e739983491b37eaa9" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/scripts/
H A DMakefile.lib96f111c8b8148a57efa83a1e739983491b37eaa9 Wed Oct 11 14:56:10 UTC 2017 Masahiro Yamada <yamada.masahiro@socionext.com> UPSTREAM: 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")
Change-Id: I85b50c565c3d1d6b4c01136d020bc45b87d8087f
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit ecc9709fc12cc8e1a07b062d07cb8a5b296888d7)