aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-09-18 14:15:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-19 11:10:51 +0100
commit197d9fb922cc234294e8ca090bddfcd023fc82ce (patch)
treed23b0a52fe2b024e623aadc581e3f2ace453ed57
parentafecc84cdd491789e62fb191a4f03de61e408629 (diff)
downloadopenembedded-core-197d9fb922cc234294e8ca090bddfcd023fc82ce.zip
openembedded-core-197d9fb922cc234294e8ca090bddfcd023fc82ce.tar.gz
openembedded-core-197d9fb922cc234294e8ca090bddfcd023fc82ce.tar.bz2
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.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 1f1f552..cf75918 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