mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
perf: mkdir ${B} -> mkdir -p ${B}
${B} is the default cwd of tasks, so there might be race issues such as:
| mkdir: cannot create directory `/path/to/work/qemux86-poky-linux/perf/1.0-r9/perf-1.0/': File exists
[snip]
NOTE: recipe perf-1.0-r9: task do_configure: Failed
(From OE-Core rev: d41e9fc53230a8fd911c61e018ea901caee4cafc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d18612a8a9
commit
c30ee2a290
|
|
@ -120,7 +120,7 @@ do_install() {
|
|||
do_configure_prepend () {
|
||||
# Fix for rebuilding
|
||||
rm -rf ${B}/
|
||||
mkdir ${B}/
|
||||
mkdir -p ${B}/
|
||||
|
||||
# If building a multlib based perf, the incorrect library path will be
|
||||
# detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user