summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-09-16 03:25:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-18 09:05:30 +0100
commitc30ee2a290d00ea30d1060b8e1533bf3609c3059 (patch)
tree51afc268f723c2c6cc9a1ecaf074557e7e970bc3
parentd18612a8a96b446ee4a041a2b42577eb5beb6cf8 (diff)
downloadpoky-c30ee2a290d00ea30d1060b8e1533bf3609c3059.tar.gz
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>
-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 241cca97f0..22bd3c8200 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -120,7 +120,7 @@ do_install() {
120do_configure_prepend () { 120do_configure_prepend () {
121 # Fix for rebuilding 121 # Fix for rebuilding
122 rm -rf ${B}/ 122 rm -rf ${B}/
123 mkdir ${B}/ 123 mkdir -p ${B}/
124 124
125 # If building a multlib based perf, the incorrect library path will be 125 # If building a multlib based perf, the incorrect library path will be
126 # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit 126 # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit