]> code.ossystems Code Review - openembedded-core.git/commit
blktrace: Fix parallel make issue
authorTom Zanussi <tom.zanussi@intel.com>
Wed, 29 Dec 2010 17:25:42 +0000 (11:25 -0600)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 30 Dec 2010 09:37:39 +0000 (09:37 +0000)
commit3156e757f23c66b0afb679119dc1d1288492325a
tree8d9d90be8384501610bff7e2fa76a481a2995931
parent6ee0c26e21f48dcd47af88ed5c174e76e76a3e42
blktrace: Fix parallel make issue

Fixes [BUGID #581]

When PARALLEL_MAKE is used with the current blktrace Makefile, the
btreplay and btrecord object files can end up being built multiple
times in parallel, which occasionally causes the linker to pick up the
object files in intermediate and seemingly corrupt states, and causes
the spurious link errors in the bug report.

This fix restricts the recursive btreplay invocations to building only
btreplay or btrecord as appropriate, not both.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch
meta/recipes-kernel/blktrace/blktrace_git.bb