path: root/meta
diff options
authorRobert Yang <>2014-08-07 06:40:55 -0700
committerRichard Purdie <>2014-08-11 11:27:34 +0100
commitf71208fdecc402e5be06dd30896807273b3ec86c (patch)
tree2b6f44c10556650442c3d02734f339f420c2acab /meta
parent4ca81d6af9045bf9d2da35073f623dbae528eabb (diff)
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 <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta')
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-kernel/trace-cmd/ b/meta/recipes-kernel/trace-cmd/
index 8d26205672..a4d5382aaf 100644
--- a/meta/recipes-kernel/trace-cmd/
+++ b/meta/recipes-kernel/trace-cmd/
@@ -30,6 +30,11 @@ EXTRA_OEMAKE = "\
FILES_${PN}-dbg += "${libdir}/trace-cmd/plugins/.debug"
+do_compile_prepend() {
+ # Make sure the recompile is OK
+ rm -f ${B}/.*.d
do_install() {
oe_runmake DESTDIR="${D}" install