summaryrefslogtreecommitdiffstats
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:11:20 +0100
commitadcc476412142deb8d499de06d8447837c3691ae (patch)
treefc92c59232b5a7c0ad9a2bf84d3e2eb3255890d1
parentab4cc02bf87c1b78933c221a29f187d05427ed08 (diff)
downloadpoky-adcc476412142deb8d499de06d8447837c3691ae.tar.gz
poky-adcc476412142deb8d499de06d8447837c3691ae.tar.bz2
poky-adcc476412142deb8d499de06d8447837c3691ae.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 (From OE-Core rev: 197d9fb922cc234294e8ca090bddfcd023fc82ce) 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 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