diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-18 22:46:29 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-11 17:39:50 +0000 |
commit | c32bf128beb21a45b4a5f85c890c5ed058eb1d8e (patch) | |
tree | 4aaf33ba9fba2a42584cb779345e0e0650c19bb3 /meta | |
parent | 028400fb47e6462d702c8822b9a98b4310f9ed6f (diff) | |
download | openembedded-core-c32bf128beb21a45b4a5f85c890c5ed058eb1d8e.tar.gz openembedded-core-c32bf128beb21a45b4a5f85c890c5ed058eb1d8e.tar.bz2 openembedded-core-c32bf128beb21a45b4a5f85c890c5ed058eb1d8e.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
(From OE-Core rev: 9dafa571ed0a40d21a886dec7704c31150b21942)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.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 2a47f5260e..19772d87c9 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 |