From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 16 Oct 2017 20:48:01 -0400 Subject: [U-Boot] kbuild: fix dependency of DT build In-Reply-To: <1507733771-28177-1-git-send-email-yamada.masahiro@socionext.com> References: <1507733771-28177-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20171017004801.GT12015@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 11, 2017 at 11:56:10PM +0900, Masahiro Yamada wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: