summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-09-18 12:15:19 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-19 10:11:20 (GMT)
commitadcc476412142deb8d499de06d8447837c3691ae (patch)
treefc92c59232b5a7c0ad9a2bf84d3e2eb3255890d1
parentab4cc02bf87c1b78933c221a29f187d05427ed08 (diff)
downloadpoky-adcc476412142deb8d499de06d8447837c3691ae.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: 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 1f1f552..cf75918 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -119,7 +119,7 @@ do_install() {
119do_configure_prepend () { 119do_configure_prepend () {
120 # Fix for rebuilding 120 # Fix for rebuilding
121 rm -rf ${B}/ 121 rm -rf ${B}/
122 mkdir ${B}/ 122 mkdir -p ${B}/
123 123
124 #kernels before 3.1 do not support WERROR env variable 124 #kernels before 3.1 do not support WERROR env variable
125 sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile 125 sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile