]> code.ossystems Code Review - openembedded-core.git/commit
linux-libc-headers: Fix build failure with fixed input and output files instead of...
authorHe Zhe <zhe.he@windriver.com>
Mon, 7 Jan 2019 14:33:45 +0000 (09:33 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Jan 2019 15:15:05 +0000 (15:15 +0000)
commit0d836013e43f29cb7d4a1f8bb9ef04dd8d9132df
treee245277da995c64679327f4d3235730f54d15062
parentd889acb4f8f06f09cece80fa12661725e6e5f037
linux-libc-headers: Fix build failure with fixed input and output files instead of pipe

This is an amendment for
2322dc4 "linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe"
which moves just the temporary input file from /tmp to build directory. But the
build directory may not in the same file system with the output file,
/dev/null, either and thus make it possible to trigger that bug, 67f846b, in
binutil v2.31.

This patch puts both the input and output files into build directory for good.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch [moved from meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-temporary-file-instead-of-pipe-for.patch with 83% similarity]
meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb