diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-08-07 06:40:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-11 11:27:34 +0100 |
commit | f71208fdecc402e5be06dd30896807273b3ec86c (patch) | |
tree | 2b6f44c10556650442c3d02734f339f420c2acab /meta/recipes-kernel/trace-cmd | |
parent | 4ca81d6af9045bf9d2da35073f623dbae528eabb (diff) | |
download | poky-f71208fdecc402e5be06dd30896807273b3ec86c.tar.gz |
trace-cmd: fix recompile error
Fixed:
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `parse-events.o'. Stop.
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed
This happens when upgrade gcc from 4.9.0 to 4.9.1, and the
.parse-events.d isn't regenerated when recompile, the content of it are:
[snip]
parse-events.o: /path/to/sysroot/4.9.0/include/stddef.h
[snip]
And Makefile includes the .parse-events.d file if it exists, so there
would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't
exist.
Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix
the problem.
(From OE-Core rev: d56657cf5def88682954a97b4d94603ad81fd6e5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/trace-cmd')
-rw-r--r-- | meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb index 8d26205672..a4d5382aaf 100644 --- a/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb +++ b/meta/recipes-kernel/trace-cmd/trace-cmd_2.3.2.bb | |||
@@ -30,6 +30,11 @@ EXTRA_OEMAKE = "\ | |||
30 | 30 | ||
31 | FILES_${PN}-dbg += "${libdir}/trace-cmd/plugins/.debug" | 31 | FILES_${PN}-dbg += "${libdir}/trace-cmd/plugins/.debug" |
32 | 32 | ||
33 | do_compile_prepend() { | ||
34 | # Make sure the recompile is OK | ||
35 | rm -f ${B}/.*.d | ||
36 | } | ||
37 | |||
33 | do_install() { | 38 | do_install() { |
34 | oe_runmake DESTDIR="${D}" install | 39 | oe_runmake DESTDIR="${D}" install |
35 | } | 40 | } |