]> code.ossystems Code Review - openembedded-core.git/commit
module/module-base/lttng-modules: Improve kernel module dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 May 2015 09:31:05 +0000 (10:31 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 May 2015 10:41:10 +0000 (11:41 +0100)
commita641247d262971db2d44815c5a668e7e50bdaf4f
treea0bdbe126d557c3fc53136a9847b8f8f4fd3a8d3
parented51b382928ee5f14d524e08a00a0c8931c491c5
module/module-base/lttng-modules: Improve kernel module dependencies

If we have DEPENDS = "virtual/kernel" is means that the kernel module
depends on the kernel's do_populate_sysroot task. This is not entirely
desireable since that depends on do_install which depends on
do_compile_kernelmodules and so on. In a situation where rm_work in involved
this can cause some pretty length build cycles after the kernel workdir
has been cleaned up by rm_work.

As well as removing this, take the opportunity to clean up duplicated
dependency lines, tweak the dependency of make_scripts for the same
reason and generally try and make things more readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/module-base.bbclass
meta/classes/module.bbclass
meta/recipes-kernel/lttng/lttng-modules_2.6.0.bb