summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-11-30 10:52:39 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-11-30 10:52:39 +0000
commitc7dd88e7a214e05e7657034a438915c77bd9eea3 (patch)
tree5ed654ed45183688c96d84b350def6c39424d77f /packages
parent867bb0ad08a66d540544d70e27e1b5ba32de6b3f (diff)
task-base: added support for 2.4 kernels
Diffstat (limited to 'packages')
-rw-r--r--packages/tasks/task-base.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/tasks/task-base.bb b/packages/tasks/task-base.bb
index 3f919c7766..1a41f13129 100644
--- a/packages/tasks/task-base.bb
+++ b/packages/tasks/task-base.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "Merge machine and distro options to create a basic machine task/package"
-PR = "r14"
+PR = "r15"
PACKAGES = "task-base \
task-base-minimal \
@@ -49,6 +49,7 @@ DISTRO_CORE_PACKAGE ?= "task-base-core-default"
RDEPENDS_task-base = "\
${DISTRO_CORE_PACKAGE} \
kernel \
+ ${@base_contains("MACHINE_FEATURES", "kernel24", "${task-base-kernel24-rdepends}", "",d)} \
${@base_contains("MACHINE_FEATURES", "kernel26", "${task-base-kernel26-rdepends}", "",d)} \
${@base_contains("MACHINE_FEATURES", "apm", "${task-base-apm-rdepends}", "",d)} \
${@base_contains("MACHINE_FEATURES", "acpi", "${task-base-acpi-rdepends}", "",d)} \
@@ -123,6 +124,8 @@ RDEPENDS_task-base-core-default = '\
RRECOMMENDS_task-base-core-default = '\
dropbear '
+task-base-kernel24-rdepends = "\
+ linux-hotplug "
task-base-kernel26-rdepends = "\
udev \
@@ -176,6 +179,13 @@ task-base-pcmcia-rrecommends = "\
kernel-module-pcnet-cs \
kernel-module-serial-cs \
kernel-module-ide-cs \
+ ${@base_contains("MACHINE_FEATURES", "kernel26", "${task-base-pcmcia26-rrecommends}", "${task-base-pcmcia24-rrecommends}",d)} "
+
+task-base-pcmcia24-rrecommends = "\
+ ${@base_contains("DISTRO_FEATURES", "wifi", "hostap-modules-cs", "",d)} \
+ ${@base_contains("DISTRO_FEATURES", "wifi", "orinoco-modules-cs", "",d)}"
+
+task-base-pcmcia26-rrecommends = "\
${@base_contains("DISTRO_FEATURES", "wifi", "kernel-module-hostap-cs", "",d)} \
${@base_contains("DISTRO_FEATURES", "wifi", "kernel-module-orinoco-cs", "",d)} \
${@base_contains("DISTRO_FEATURES", "wifi", "kernel-module-spectrum-cs", "",d)}"