diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-08-10 21:37:29 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-12-02 14:51:13 +0100 |
commit | dc99b2cd848cc6ae2167d448183b86762a9e8ddf (patch) | |
tree | 91f182332bcd1f930a1425810b6aa54ea000e342 | |
parent | 6c9b8172781087197fe42331ddb91a78c08794ff (diff) | |
download | openembedded-dc99b2cd848cc6ae2167d448183b86762a9e8ddf.tar.gz |
kernel.bbclass: put bluez-dtl1-workaround to DEPENDS directly
* DEPENDS_kernel-module-dtl1-cs aren't probably included in run queue
* RDEPENDS_kernel-module-dtl1-cs probably also doesn't put it to run queue,
because kernel-module-* are created by
PACKAGES_DYNAMIC += "kernel-module-*"
so not even known before even building kernel, but does work ok in runtime
* bluez-dtl1-workaround is small and fast to build so won't hurt to
build even when kernel doesn't have this bluez module enabled in
defconfig
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | classes/kernel.bbclass | 3 | ||||
-rw-r--r-- | recipes/tasks/task-base.bb | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 7039d27ccb..422bcd7d45 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -1,7 +1,7 @@ inherit linux-kernel-base module_strip PROVIDES += "virtual/kernel" -DEPENDS += "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}depmod-${@get_kernelmajorversion('${PV}')} virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules" +DEPENDS += "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}depmod-${@get_kernelmajorversion('${PV}')} virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules bluez-dtl1-workaround" # we include gcc above, we dont need virtual/libc INHIBIT_DEFAULT_DEPS = "1" @@ -268,7 +268,6 @@ ALLOW_EMPTY_kernel-image = "1" # Userspace workarounds for kernel modules issues # This is shame, fix the kernel instead! -DEPENDS_kernel-module-dtl1-cs = "bluez-dtl1-workaround" RDEPENDS_kernel-module-dtl1-cs = "bluez-dtl1-workaround" # renamed modules diff --git a/recipes/tasks/task-base.bb b/recipes/tasks/task-base.bb index ecc527843f..6e2d9f0b8f 100644 --- a/recipes/tasks/task-base.bb +++ b/recipes/tasks/task-base.bb @@ -266,11 +266,7 @@ RRECOMMENDS_task-base-bluetooth = "\ ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluecard-cs', '',d)} \ ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluetoothuart-cs', '',d)} \ ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-dtl1-cs', '',d)} \ - ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'bluez-dtl1-workaround', '',d)} \ " -# bluez-dtl1-workaround above is workaround for bitbake not handling DEPENDS on it in -# kernel.bbclass. It should be there as long as kernel-module-dtl1-cs is, but not longer. - RDEPENDS_task-base-irda = "\ irda-utils" |