summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-09-16 02:07:58 -0700
committerRobert Yang <liezhi.yang@windriver.com>2015-09-16 03:23:06 -0700
commit5454639ee071da6816d723e22d89873be8927ea9 (patch)
treec204d0a0c14c57e7a5e50195d2456ccc38a85cd2
parentf0189829498e30231d826c9f55aad73e622d076e (diff)
downloadopenembedded-core-contrib-5454639ee071da6816d723e22d89873be8927ea9.tar.gz
openembedded-core-contrib-5454639ee071da6816d723e22d89873be8927ea9.tar.bz2
openembedded-core-contrib-5454639ee071da6816d723e22d89873be8927ea9.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>
-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 adb3a2cdcf..242cf62818 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -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