diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-14 10:31:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-14 11:43:56 +0100 |
commit | b12d79ef5e601f3399f1a8f51c97b3795f54dc2a (patch) | |
tree | 922f8a802bc4ea55088a0c238b96af4f0b91d380 /meta/recipes-kernel/lttng | |
parent | 57aeb9e45f75ebf449f07d909cbeae598284fe32 (diff) | |
download | poky-b12d79ef5e601f3399f1a8f51c97b3795f54dc2a.tar.gz |
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.
(From OE-Core rev: a641247d262971db2d44815c5a668e7e50bdaf4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules_2.6.0.bb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.6.0.bb b/meta/recipes-kernel/lttng/lttng-modules_2.6.0.bb index 4cf01caa51..420b691db1 100644 --- a/meta/recipes-kernel/lttng/lttng-modules_2.6.0.bb +++ b/meta/recipes-kernel/lttng/lttng-modules_2.6.0.bb | |||
@@ -6,9 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1412caf5a1aa90d6a48588a4794c0eac \ | |||
6 | file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \ | 6 | file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \ |
7 | file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad" | 7 | file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad" |
8 | 8 | ||
9 | DEPENDS = "virtual/kernel" | ||
10 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
11 | |||
12 | inherit module | 9 | inherit module |
13 | 10 | ||
14 | SRCREV = "1b2a5429de815c95643df2eadf91253909708728" | 11 | SRCREV = "1b2a5429de815c95643df2eadf91253909708728" |