diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-18 22:46:29 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-23 11:35:26 +0000 |
commit | 9dafa571ed0a40d21a886dec7704c31150b21942 (patch) | |
tree | 3db0441e2e6e106be893d4b03128e25951ff119a /meta | |
parent | b142504d4e4e83d030c45e48ea333c387e8f5c88 (diff) | |
download | openembedded-core-9dafa571ed0a40d21a886dec7704c31150b21942.tar.gz openembedded-core-9dafa571ed0a40d21a886dec7704c31150b21942.tar.bz2 openembedded-core-9dafa571ed0a40d21a886dec7704c31150b21942.zip |
perf: fix for rebuilding
Fix for rebuilding error:
make[3]: *** No rule to make target `/path/to/sysroots/qemuarm64/usr/src/kernel/tools/lib/traceevent//trace-seq.c',
needed by `.trace-seq.d'. Stop.
make[2]: *** [sub-make] Error 2
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index bd57c6c246..6925eb22cc 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb @@ -115,6 +115,10 @@ do_install() { } do_configure_prepend () { + # Fix for rebuilding + rm -rf ${B}/ + mkdir ${B}/ + #kernels before 3.1 do not support WERROR env variable sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile if [ -e "${S}/tools/perf/config/Makefile" ]; then |