diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-09-18 14:15:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-19 11:10:51 +0100 |
commit | 197d9fb922cc234294e8ca090bddfcd023fc82ce (patch) | |
tree | d23b0a52fe2b024e623aadc581e3f2ace453ed57 | |
parent | afecc84cdd491789e62fb191a4f03de61e408629 (diff) | |
download | openembedded-core-197d9fb922cc234294e8ca090bddfcd023fc82ce.tar.gz openembedded-core-197d9fb922cc234294e8ca090bddfcd023fc82ce.tar.bz2 openembedded-core-197d9fb922cc234294e8ca090bddfcd023fc82ce.zip |
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
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 1f1f552ca4..cf75918308 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb @@ -119,7 +119,7 @@ do_install() { do_configure_prepend () { # Fix for rebuilding rm -rf ${B}/ - mkdir ${B}/ + mkdir -p ${B}/ #kernels before 3.1 do not support WERROR env variable sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile |