summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
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-16 22:17:19 +0100
commitd41e9fc53230a8fd911c61e018ea901caee4cafc (patch)
treeca215ce66777a5b5a37279b206524de34893c601 /meta/recipes-kernel
parentac053163c7823e482ca1af2962342e64a54bfb52 (diff)
downloadopenembedded-core-contrib-d41e9fc53230a8fd911c61e018ea901caee4cafc.tar.gz
openembedded-core-contrib-d41e9fc53230a8fd911c61e018ea901caee4cafc.tar.bz2
openembedded-core-contrib-d41e9fc53230a8fd911c61e018ea901caee4cafc.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>
Diffstat (limited to 'meta/recipes-kernel')
-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() {
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