diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-29 07:31:17 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-29 07:31:17 +0000 |
commit | ba9dd5228c290c96c622fb82964e49ce2511a1e9 (patch) | |
tree | 5bac9faff7521ff2afe86e8c8f3e5c00849e78fc /meta/packages | |
parent | 8788d27b2235c89f04f568071ca7dc938bd9b598 (diff) | |
download | poky-ba9dd5228c290c96c622fb82964e49ce2511a1e9.tar.gz |
task-base: synchronize with OE version, few features removed
- OE version of task-base generate task-base-FEATURE package for each
entry from MACHINE_FEATURES.
- some entries were removed because Poky does not support them
- packages are generated only for supported features + BT and WiFi
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2053 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/tasks/task-base.bb | 388 |
1 files changed, 239 insertions, 149 deletions
diff --git a/meta/packages/tasks/task-base.bb b/meta/packages/tasks/task-base.bb index 977daefbc7..305898d2dd 100644 --- a/meta/packages/tasks/task-base.bb +++ b/meta/packages/tasks/task-base.bb | |||
@@ -1,145 +1,217 @@ | |||
1 | # | ||
2 | # Copyright (C) 2007 OpenedHand Ltd. | ||
3 | # | ||
4 | |||
5 | DESCRIPTION = "Merge machine and distro options to create a basic machine task/package" | 1 | DESCRIPTION = "Merge machine and distro options to create a basic machine task/package" |
6 | PR = "r10" | 2 | PR = "r37" |
7 | 3 | ||
8 | PACKAGES = "task-base task-base-dbg task-base-dev" | 4 | PROVIDES = "${PACKAGES}" |
5 | PACKAGES = ' \ | ||
6 | task-base task-base-dev task-base-dbg\ | ||
7 | task-base-extended task-base-extended-dev task-base-extended-dbg \ | ||
8 | task-distro-base task-distro-base-dev task-distro-base-dbg \ | ||
9 | task-machine-base task-machine-base-dev task-machine-base-dbg \ | ||
10 | \ | ||
11 | ${@base_contains("MACHINE_FEATURES", "acpi", "task-base-acpi task-base-acpi-dev task-base-acpi-dbg", "",d)} \ | ||
12 | ${@base_contains("MACHINE_FEATURES", "irda", "task-base-irda task-base-irda-dev task-base-irda-dbg", "",d)} \ | ||
13 | ${@base_contains("MACHINE_FEATURES", "pci", "task-base-pci task-base-pci-dev task-base-pci-dbg", "",d)} \ | ||
14 | ${@base_contains("MACHINE_FEATURES", "phone", "task-base-phone task-base-phone-dev task-base-phone-dbg", "",d)} \ | ||
15 | ${@base_contains("MACHINE_FEATURES", "alsa", "task-base-alsa task-base-alsa-dev task-base-alsa-dbg", "", d)} \ | ||
16 | ${@base_contains("MACHINE_FEATURES", "apm", "task-base-apm task-base-apm-dev task-base-apm-dbg", "", d)} \ | ||
17 | ${@base_contains("MACHINE_FEATURES", "ext2", "task-base-ext2 task-base-ext2-dev task-base-ext2-dbg", "", d)} \ | ||
18 | ${@base_contains("MACHINE_FEATURES", "keyboard", "task-base-keyboard task-base-keyboard-dev task-base-keyboard-dbg", "", d)} \ | ||
19 | ${@base_contains("MACHINE_FEATURES", "pcmcia", "task-base-pcmcia task-base-pcmcia-dev task-base-pcmcia-dbg", "", d)} \ | ||
20 | ${@base_contains("MACHINE_FEATURES", "screen", "task-base-screen task-base-screen-dev task-base-screen-dbg", "", d)} \ | ||
21 | ${@base_contains("MACHINE_FEATURES", "serial", "task-base-serial task-base-serial-dev task-base-serial-dbg", "", d)} \ | ||
22 | ${@base_contains("MACHINE_FEATURES", "touchscreen", "task-base-touchscreen task-base-touchscreen-dev task-base-touchscreen-dbg", "", d)} \ | ||
23 | ${@base_contains("MACHINE_FEATURES", "usbgadget", "task-base-usbgadget task-base-usbgadget-dev task-base-usbgadget-dbg", "", d)} \ | ||
24 | ${@base_contains("MACHINE_FEATURES", "usbhost", "task-base-usbhost task-base-usbhost-dev task-base-usbhost-dbg", "", d)} \ | ||
25 | task-base-bluetooth task-base-bluetooth-dev task-base-bluetooth-dbg \ | ||
26 | task-base-wifi task-base-wifi-dev task-base-wifi-dbg \ | ||
27 | \ | ||
28 | ${@base_contains("DISTRO_FEATURES", "cramfs", "task-base-cramfs task-base-cramfs-dev task-base-cramfs-dbg", "", d)} \ | ||
29 | ${@base_contains("DISTRO_FEATURES", "ipsec", "task-base-ipsec task-base-ipsec-dev task-base-ipsec-dbg", "", d)} \ | ||
30 | ${@base_contains("DISTRO_FEATURES", "ipv6", "task-base-ipv6 task-base-ipv6-dev task-base-ipv6-dbg", "", d)} \ | ||
31 | ${@base_contains("DISTRO_FEATURES", "nfs", "task-base-nfs task-base-nfs-dev task-base-nfs-dbg", "", d)} \ | ||
32 | ${@base_contains("DISTRO_FEATURES", "ppp", "task-base-ppp task-base-ppp-dev task-base-ppp-dbg", "", d)} \ | ||
33 | ${@base_contains("DISTRO_FEATURES", "smbfs", "task-base-smbfs task-base-smbfs-dev task-base-smbfs-dbg", "", d)} \ | ||
34 | \ | ||
35 | task-base-kernel26 task-base-kernel26-dev task-base-kernel26-dbg \ | ||
36 | ' | ||
9 | 37 | ||
10 | ALLOW_EMPTY = "1" | 38 | ALLOW_EMPTY = "1" |
11 | 39 | ||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 40 | PACKAGE_ARCH = "all" |
13 | 41 | ||
14 | # Valid only in MACHINE_FEATURES: | ||
15 | # | 42 | # |
16 | # kernel24 | 43 | # packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH |
17 | # kernel26 | ||
18 | # apm | ||
19 | |||
20 | # Valid only in DISTRO_FEATURES: | ||
21 | # | 44 | # |
22 | # nfs | 45 | PACKAGE_ARCH_task-base = "${MACHINE_ARCH}" |
23 | # smbfs | 46 | PACKAGE_ARCH_task-machine-base = "${MACHINE_ARCH}" |
24 | # ipsec | 47 | PACKAGE_ARCH_task-base-apm = "${MACHINE_ARCH}" |
25 | # wifi | 48 | PACKAGE_ARCH_task-base-pcmcia = "${MACHINE_ARCH}" |
26 | # ppp | ||
27 | 49 | ||
28 | # Valid COMBINED_FEATURES: | ||
29 | # (These features need to be supported by both the machine and the distro) | ||
30 | # | 50 | # |
31 | # alsa | 51 | # linux-hotplug or none |
32 | # bluetooth | 52 | # |
33 | # ext2 | 53 | HOTPLUG ?= " " |
34 | # irda | ||
35 | # pcmcia | ||
36 | # usbgadget | ||
37 | # usbhost | ||
38 | 54 | ||
55 | # | ||
56 | # dropbear, openssh or none | ||
57 | # | ||
58 | DISTRO_SSH_DAEMON ?= "dropbear" | ||
39 | 59 | ||
40 | MACHINE_FEATURES ?= "kernel26" | 60 | # |
41 | DISTRO_FEATURES ?= "" | 61 | # pcmciautils for >= 2.6.13-rc1, pcmcia-cs for others |
62 | # | ||
63 | PCMCIA_MANAGER ?= "${@base_contains('MACHINE_FEATURES', 'kernel26','pcmciautils','pcmcia-cs',d)} " | ||
42 | 64 | ||
43 | DISTRO_EXTRA_RDEPENDS ?= "" | 65 | # |
44 | DISTRO_EXTRA_RRECOMMENDS ?= "" | 66 | # those ones can be set in machine config to supply packages needed to get machine booting |
45 | MACHINE_EXTRA_RDEPENDS ?= "" | 67 | # |
46 | MACHINE_EXTRA_RRECOMMENDS ?= "" | ||
47 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | 68 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" |
48 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | 69 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" |
49 | 70 | ||
71 | # | ||
72 | # task-base contain stuff needed for base system (machine related) | ||
73 | # | ||
74 | RDEPENDS_task-base = "\ | ||
75 | task-poky-boot \ | ||
76 | task-distro-base \ | ||
77 | task-machine-base \ | ||
78 | ${DISTRO_SSH_DAEMON} \ | ||
79 | ${HOTPLUG} \ | ||
80 | \ | ||
81 | task-base-kernel26 \ | ||
82 | ${@base_contains('MACHINE_FEATURES', 'apm', 'task-base-apm', '',d)} \ | ||
83 | ${@base_contains('MACHINE_FEATURES', 'acpi', 'task-base-acpi', '',d)} \ | ||
84 | ${@base_contains('MACHINE_FEATURES', 'keyboard', 'task-base-keyboard', '',d)} \ | ||
85 | \ | ||
86 | ${@base_contains('COMBINED_FEATURES', 'alsa', 'task-base-alsa', '',d)} \ | ||
87 | ${@base_contains('COMBINED_FEATURES', 'ext2', 'task-base-ext2', '',d)} \ | ||
88 | ${@base_contains('COMBINED_FEATURES', 'irda', 'task-base-irda', '',d)} \ | ||
89 | ${@base_contains('COMBINED_FEATURES', 'pci', 'task-base-pci', '',d)} \ | ||
90 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'task-base-pcmcia', '',d)} \ | ||
91 | ${@base_contains('COMBINED_FEATURES', 'usbgadget', 'task-base-usbgadget', '',d)} \ | ||
92 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'task-base-usbhost', '',d)} \ | ||
93 | ${@base_contains('COMBINED_FEATURES', 'bluetooth', 'task-base-bluetooth', '',d)} \ | ||
94 | ${@base_contains('COMBINED_FEATURES', 'wifi', 'task-base-wifi', '',d)} \ | ||
95 | \ | ||
96 | ${@base_contains('DISTRO_FEATURES', 'nfs', 'task-base-nfs', '',d)} \ | ||
97 | ${@base_contains('DISTRO_FEATURES', 'ipv6', 'task-base-ipv6', '',d)} \ | ||
98 | ${@base_contains('DISTRO_FEATURES', 'ipsec', 'task-base-ipsec', '',d)} \ | ||
99 | ${@base_contains('DISTRO_FEATURES', 'ppp', 'task-base-ppp', '',d)} \ | ||
100 | ${@base_contains('DISTRO_FEATURES', 'raid', 'task-base-raid', '',d)} \ | ||
101 | " | ||
102 | |||
103 | RDEPENDS_task-base-extended = "\ | ||
104 | task-base \ | ||
105 | ${ADD_WIFI} \ | ||
106 | ${ADD_BT} \ | ||
107 | " | ||
108 | |||
109 | ADD_WIFI = "" | ||
110 | ADD_BT = "" | ||
111 | |||
112 | python __anonymous () { | ||
113 | # If Distro want wifi and machine feature wifi/pci/pcmcia/usbhost (one of them) | ||
114 | # then include task-base-wifi in task-base | ||
115 | |||
116 | import bb | ||
117 | |||
118 | if not hasattr(__builtins__, 'set'): | ||
119 | from sets import Set as set | ||
120 | |||
121 | distro_features = set(bb.data.getVar("DISTRO_FEATURES", d, 1).split()) | ||
122 | machine_features= set(bb.data.getVar("MACHINE_FEATURES", d, 1).split()) | ||
123 | |||
124 | if "bluetooth" in distro_features and not "bluetooth" in machine_features and ("pcmcia" in machine_features or "pci" in machine_features or "usbhost" in machine_features): | ||
125 | bb.data.setVar("ADD_BT", "task-base-bluetooth", d) | ||
126 | |||
127 | if "wifi" in distro_features and not "wifi" in machine_features and ("pcmcia" in machine_features or "pci" in machine_features or "usbhost" in machine_features): | ||
128 | bb.data.setVar("ADD_WIFI", "task-base-wifi", d) | ||
129 | } | ||
50 | 130 | ||
51 | COMBINED_FEATURES = "\ | 131 | # |
52 | ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "alsa", d)} \ | 132 | # packages added by distribution |
53 | ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "bluetooth", d)} \ | 133 | # |
54 | ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "ext2", d)} \ | 134 | RDEPENDS_task-distro-base = "${DISTRO_EXTRA_RDEPENDS}" |
55 | ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "irda", d)} \ | 135 | RRECOMMENDS_task-distro-base = "${DISTRO_EXTRA_RRECOMMENDS}" |
56 | ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pcmcia", d)} \ | ||
57 | ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbgadget", d)} \ | ||
58 | ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)}" | ||
59 | |||
60 | 136 | ||
61 | # | 137 | # |
62 | # task-base | 138 | # packages added by machine config |
63 | # | 139 | # |
64 | RDEPENDS_task-base = "\ | 140 | RDEPENDS_task-machine-base = "${MACHINE_EXTRA_RDEPENDS}" |
65 | kernel \ | 141 | RRECOMMENDS_task-machine-base = "${MACHINE_EXTRA_RRECOMMENDS}" |
66 | ${@base_contains("MACHINE_FEATURES", "kernel26", "${task-base-kernel26-rdepends}", "",d)} \ | 142 | |
67 | ${@base_contains("MACHINE_FEATURES", "apm", "${task-base-apm-rdepends}", "",d)} \ | 143 | RDEPENDS_task-base-kernel26 = "\ |
68 | ${@base_contains("COMBINED_FEATURES", "alsa", "${task-base-alsa-rdepends}", "",d)} \ | ||
69 | ${@base_contains("COMBINED_FEATURES", "ext2", "${task-base-ext2-rdepends}", "",d)} \ | ||
70 | ${@base_contains("COMBINED_FEATURES", "irda", "${task-base-irda-rdepends}", "",d)} \ | ||
71 | ${@base_contains("COMBINED_FEATURES", "pcmcia", "${task-base-pcmcia-rdepends}", "",d)} \ | ||
72 | ${@base_contains("DISTRO_FEATURES", "ipsec", "${task-distro-ipsec-rdepends}", "",d)} \ | ||
73 | ${@base_contains("DISTRO_FEATURES", "ppp", "${task-distro-ppp-rdepends}", "",d)} \ | ||
74 | ${@base_contains("DISTRO_FEATURES", "wifi", "${task-distro-wifi-rdepends}", "",d)} \ | ||
75 | ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \ | ||
76 | ${MACHINE_EXTRA_RDEPENDS} \ | ||
77 | ${DISTRO_EXTRA_RDEPENDS}" | ||
78 | |||
79 | RRECOMMENDS_task-base = "\ | ||
80 | ${@base_contains("MACHINE_FEATURES", "kernel26", "${task-base-kernel26-extras-rrecommends}", "",d)} \ | ||
81 | ${@base_contains("COMBINED_FEATURES", "alsa", "${task-base-alsa-rrecommends}", "",d)} \ | ||
82 | ${@base_contains("COMBINED_FEATURES", "pcmcia", "${task-base-pcmcia-rrecommends}", "",d)} \ | ||
83 | ${@base_contains("COMBINED_FEATURES", "bluetooth", "${task-base-bluetooth-rrecommends}", "",d)} \ | ||
84 | ${@base_contains("COMBINED_FEATURES", "irda", "${task-base-irda-rrecommends}", "",d)} \ | ||
85 | ${@base_contains("COMBINED_FEATURES", "usbgadget", "${task-base-usbgadget-rrecommends}", "",d)} \ | ||
86 | ${@base_contains("COMBINED_FEATURES", "usbhost", "${task-base-usbhost-rrecommends}", "",d)} \ | ||
87 | ${@base_contains("DISTRO_FEATURES", "ppp", "${task-distro-ppp-rrecommends}", "",d)} \ | ||
88 | ${@base_contains("DISTRO_FEATURES", "nfs", "${task-distro-nfs-rrecommends}", "",d)} \ | ||
89 | ${@base_contains("DISTRO_FEATURES", "ipsec", "${task-distro-ipsec-rrecommends}", "",d)} \ | ||
90 | ${@base_contains("DISTRO_FEATURES", "cramfs", "${task-distro-cramfs-rrecommends}", "",d)} \ | ||
91 | ${@base_contains("DISTRO_FEATURES", "wifi", "${task-distro-wifi-rrecommends}", "",d)} \ | ||
92 | ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \ | ||
93 | ${MACHINE_EXTRA_RRECOMMENDS} \ | ||
94 | ${DISTRO_EXTRA_RRECOMMENDS}" | ||
95 | |||
96 | task-base-kernel26-rdepends = "\ | ||
97 | udev \ | ||
98 | keymaps \ | ||
99 | sysfsutils \ | 144 | sysfsutils \ |
100 | module-init-tools" | 145 | module-init-tools" |
101 | 146 | ||
102 | task-base-kernel26-extras-rrecommends = "\ | 147 | RRECOMMENDS_task-base-kernel26 = "\ |
103 | kernel-module-input \ | 148 | kernel-module-input \ |
104 | kernel-module-uinput" | 149 | kernel-module-uinput \ |
150 | kernel-module-rtc-dev \ | ||
151 | kernel-module-rtc-proc \ | ||
152 | kernel-module-rtc-sysfs \ | ||
153 | kernel-module-rtc-sa1100" | ||
154 | |||
155 | RDEPENDS_task-base-keyboard = "\ | ||
156 | keymaps" | ||
105 | 157 | ||
106 | task-base-apm-rdepends = "\ | 158 | RDEPENDS_task-base-pci = "\ |
159 | pciutils" | ||
160 | |||
161 | RDEPENDS_task-base-acpi = "\ | ||
162 | acpid" | ||
163 | |||
164 | RDEPENDS_task-base-apm = "\ | ||
107 | apm \ | 165 | apm \ |
108 | apmd \ | 166 | apmd" |
109 | ${@base_contains("MACHINE_FEATURES", "kernel24", "network-suspend-scripts", "",d)}" | ||
110 | 167 | ||
111 | task-base-ext2-rdepends = "\ | 168 | RDEPENDS_task-base-ext2 = "\ |
112 | hdparm \ | 169 | hdparm \ |
113 | e2fsprogs \ | 170 | e2fsprogs \ |
114 | e2fsprogs-e2fsck \ | 171 | e2fsprogs-e2fsck \ |
115 | e2fsprogs-mke2fs" | 172 | e2fsprogs-mke2fs" |
116 | 173 | ||
117 | task-base-alsa-rdepends = "\ | 174 | RDEPENDS_task-base-alsa = "\ |
118 | alsa-utils-alsactl \ | 175 | alsa-utils-alsactl \ |
119 | alsa-utils-alsamixer \ | 176 | alsa-utils-alsamixer" |
120 | alsa-conf" | ||
121 | 177 | ||
122 | task-base-alsa-rrecommends = "\ | 178 | # |
179 | # alsa-state is machine related so can be missing in feed, OSS support is optional | ||
180 | # | ||
181 | RRECOMMENDS_task-base-alsa = "\ | ||
123 | kernel-module-snd-mixer-oss \ | 182 | kernel-module-snd-mixer-oss \ |
124 | kernel-module-snd-pcm-oss" | 183 | kernel-module-snd-pcm-oss" |
125 | 184 | ||
126 | task-base-pcmcia-rdepends = "\ | 185 | RDEPENDS_task-base-pcmcia = "\ |
127 | ${PCMCIA_MANAGER} \ | 186 | ${PCMCIA_MANAGER} \ |
128 | ${@base_contains("DISTRO_FEATURES", "wifi", "prism-firmware", "",d)} \ | 187 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'prism-firmware', '',d)} \ |
129 | ${@base_contains("DISTRO_FEATURES", "wifi", "spectrum-fw", "",d)} \ | 188 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'spectrum-fw', '',d)} \ |
130 | ${@base_contains("DISTRO_FEATURES", "wifi", "hostap-conf", "",d)} \ | 189 | " |
131 | ${@base_contains("DISTRO_FEATURES", "wifi", "orinoco-conf", "",d)}" | ||
132 | 190 | ||
133 | task-base-pcmcia-rrecommends = "\ | 191 | RRECOMMENDS_task-base-pcmcia = "\ |
192 | ${@base_contains('MACHINE_FEATURES', 'kernel26', '${task-base-pcmcia26}', '${task-base-pcmcia24}',d)} \ | ||
193 | kernel-module-pcmcia \ | ||
134 | kernel-module-airo-cs \ | 194 | kernel-module-airo-cs \ |
135 | kernel-module-pcnet-cs \ | 195 | kernel-module-pcnet-cs \ |
136 | kernel-module-serial-cs \ | 196 | kernel-module-serial-cs \ |
137 | kernel-module-hostap-cs \ | ||
138 | kernel-module-ide-cs \ | 197 | kernel-module-ide-cs \ |
139 | ${@base_contains("DISTRO_FEATURES", "wifi", "kernel-module-orinoco-cs", "",d)} \ | 198 | kernel-module-ide-disk \ |
140 | ${@base_contains("DISTRO_FEATURES", "wifi", "kernel-module-spectrum-cs", "",d)}" | 199 | " |
200 | |||
201 | task-base-pcmcia24 = "\ | ||
202 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'hostap-modules-cs', '',d)} \ | ||
203 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'orinoco-modules-cs', '',d)} \ | ||
204 | " | ||
141 | 205 | ||
142 | task-base-bluetooth-rrecommends = "\ | 206 | task-base-pcmcia26 = "\ |
207 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'kernel-module-hostap-cs', '',d)} \ | ||
208 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'kernel-module-orinoco-cs', '',d)} \ | ||
209 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'kernel-module-spectrum-cs', '',d)}" | ||
210 | |||
211 | RDEPENDS_task-base-bluetooth = "\ | ||
212 | bluez-utils" | ||
213 | |||
214 | RRECOMMENDS_task-base-bluetooth = "\ | ||
143 | kernel-module-bluetooth \ | 215 | kernel-module-bluetooth \ |
144 | kernel-module-l2cap \ | 216 | kernel-module-l2cap \ |
145 | kernel-module-rfcomm \ | 217 | kernel-module-rfcomm \ |
@@ -148,32 +220,42 @@ task-base-bluetooth-rrecommends = "\ | |||
148 | kernel-module-hidp \ | 220 | kernel-module-hidp \ |
149 | kernel-module-hci-uart \ | 221 | kernel-module-hci-uart \ |
150 | kernel-module-sco \ | 222 | kernel-module-sco \ |
151 | ${@base_contains("COMBINED_FEATURES", "pcmcia", "kernel-module-bluetooth3c-cs", "",d)} \ | 223 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-hci-usb', '',d)} \ |
152 | ${@base_contains("COMBINED_FEATURES", "pcmcia", "kernel-module-bluecard-cs", "",d)} \ | 224 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluetooth3c-cs', '',d)} \ |
153 | ${@base_contains("COMBINED_FEATURES", "pcmcia", "kernel-module-bluetoothuart-cs", "",d)} \ | 225 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluecard-cs', '',d)} \ |
154 | ${@base_contains("COMBINED_FEATURES", "pcmcia", "kernel-module-dtl1-cs", "",d)}" | 226 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluetoothuart-cs', '',d)} \ |
227 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-dtl1-cs', '',d)}" | ||
155 | 228 | ||
156 | task-base-irda-rdepends = "\ | 229 | RDEPENDS_task-base-irda = "\ |
157 | irda-utils" | 230 | irda-utils" |
158 | 231 | ||
159 | task-base-irda-rrecommends = "\ | 232 | RRECOMMENDS_task-base-irda = "\ |
160 | kernel-module-pxaficp-ir \ | 233 | kernel-module-pxaficp-ir \ |
161 | kernel-module-irda \ | 234 | kernel-module-irda \ |
162 | kernel-module-ircomm \ | 235 | kernel-module-ircomm \ |
163 | kernel-module-ircomm-tty \ | 236 | kernel-module-ircomm-tty \ |
164 | kernel-module-irlan \ | 237 | kernel-module-irlan \ |
165 | kernel-module-irnet \ | 238 | ${@base_contains('DISTRO_FEATURES', 'ppp', 'kernel-module-irnet', '',d)} \ |
166 | kernel-module-irport \ | 239 | kernel-module-irport \ |
167 | kernel-module-irtty " | 240 | kernel-module-irtty \ |
241 | kernel-module-irtty-sir \ | ||
242 | kernel-module-sir-dev \ | ||
243 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-ir-usb', '',d)} " | ||
168 | 244 | ||
169 | task-base-usbgadget-rrecommends = "\ | 245 | RRECOMMENDS_task-base-usbgadget = "\ |
246 | kernel-module-pxa27x_udc \ | ||
170 | kernel-module-gadgetfs \ | 247 | kernel-module-gadgetfs \ |
171 | kernel-module-g-file-storage \ | 248 | kernel-module-g-file-storage \ |
172 | kernel-module-g-serial \ | 249 | kernel-module-g-serial \ |
173 | kernel-module-g-ether" | 250 | kernel-module-g-ether" |
174 | 251 | ||
175 | task-base-usbhost-rrecommends = "\ | 252 | RDEPENDS_task-base-usbhost = "\ |
253 | usbutils " | ||
254 | |||
255 | RRECOMMENDS_task-base-usbhost = "\ | ||
256 | kernel-module-uhci-hcd \ | ||
176 | kernel-module-ohci-hcd \ | 257 | kernel-module-ohci-hcd \ |
258 | kernel-module-ehci-hcd \ | ||
177 | kernel-module-usbcore \ | 259 | kernel-module-usbcore \ |
178 | kernel-module-usbhid \ | 260 | kernel-module-usbhid \ |
179 | kernel-module-usbnet \ | 261 | kernel-module-usbnet \ |
@@ -181,32 +263,38 @@ task-base-usbhost-rrecommends = "\ | |||
181 | kernel-module-scsi-mod \ | 263 | kernel-module-scsi-mod \ |
182 | kernel-module-usbmouse \ | 264 | kernel-module-usbmouse \ |
183 | kernel-module-mousedev \ | 265 | kernel-module-mousedev \ |
184 | kernel-module-hci-usb \ | ||
185 | kernel-module-usbserial \ | 266 | kernel-module-usbserial \ |
186 | kernel-module-usb-storage \ | 267 | kernel-module-usb-storage " |
187 | kernel-module-ir-usb" | ||
188 | 268 | ||
189 | task-distro-ppp-rdepends = "\ | 269 | RDEPENDS_task-base-ppp = "\ |
190 | ppp \ | 270 | ppp \ |
191 | ppp-dialin" | 271 | ppp-dialin" |
192 | 272 | ||
193 | task-distro-ppp-rrecommends = "\ | 273 | RRECOMMENDS_task-base-ppp = "\ |
194 | kernel-module-ppp-async \ | 274 | kernel-module-ppp-async \ |
195 | kernel-module-ppp-deflate \ | 275 | kernel-module-ppp-deflate \ |
196 | kernel-module-ppp-mppe" | 276 | kernel-module-ppp-generic \ |
277 | kernel-module-ppp-mppe \ | ||
278 | kernel-module-slhc" | ||
197 | 279 | ||
198 | task-distro-ipsec-rdepends = "\ | 280 | RDEPENDS_task-base-ipsec = "\ |
199 | openswan" | 281 | openswan" |
200 | 282 | ||
201 | task-distro-ipsec-rrecommends = "\ | 283 | RRECOMMENDS_task-base-ipsec = "\ |
202 | kernel-module-ipsec" | 284 | kernel-module-ipsec" |
203 | 285 | ||
204 | task-distro-wifi-rdepends = "\ | 286 | # |
287 | # task-base-wifi contain everything needed to get WiFi working | ||
288 | # WEP/WPA connection needs to be supported out-of-box | ||
289 | # | ||
290 | RDEPENDS_task-base-wifi = "\ | ||
205 | wireless-tools \ | 291 | wireless-tools \ |
206 | hostap-utils \ | 292 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'hostap-utils', '',d)} \ |
293 | ${@base_contains('COMBINED_FEATURES', 'pci', 'hostap-utils', '',d)} \ | ||
207 | wpa-supplicant" | 294 | wpa-supplicant" |
208 | 295 | ||
209 | task-distro-wifi-rrecommends = "\ | 296 | RRECOMMENDS_task-base-wifi = "\ |
297 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \ | ||
210 | kernel-module-ieee80211-crypt \ | 298 | kernel-module-ieee80211-crypt \ |
211 | kernel-module-ieee80211-crypt-ccmp \ | 299 | kernel-module-ieee80211-crypt-ccmp \ |
212 | kernel-module-ieee80211-crypt-tkip \ | 300 | kernel-module-ieee80211-crypt-tkip \ |
@@ -216,36 +304,38 @@ task-distro-wifi-rrecommends = "\ | |||
216 | kernel-module-michael-mic \ | 304 | kernel-module-michael-mic \ |
217 | kernel-module-aes" | 305 | kernel-module-aes" |
218 | 306 | ||
219 | task-distro-smbfs-rrecommends = "\ | 307 | RRECOMMENDS_task-base-smbfs = "\ |
308 | kernel-module-cifs \ | ||
220 | kernel-module-smbfs" | 309 | kernel-module-smbfs" |
221 | 310 | ||
222 | task-distro-cramfs-rrecommends = "\ | 311 | RRECOMMENDS_task-base-cramfs = "\ |
223 | kernel-module-cramfs" | 312 | kernel-module-cramfs" |
224 | 313 | ||
225 | task-distro-nfs-rrecommends = "\ | 314 | # |
226 | kernel-module-nfs \ | 315 | # task-base-nfs provides ONLY client support - server is in nfs-utils package |
227 | kernel-module-lockd \ | 316 | # |
228 | kernel-module-sunrpc" | 317 | RDEPENDS_task-base-nfs = "\ |
229 | 318 | portmap" | |
230 | 319 | ||
231 | # Tosort | 320 | RRECOMMENDS_task-base-nfs = "\ |
232 | # kernel-module-ipv6 | 321 | kernel-module-nfs " |
233 | # kernel-module-ipsec | 322 | |
234 | # kernel-module-nvrd | 323 | RDEPENDS_task-base-screen = "\ |
235 | # kernel-module-mip6-mn | 324 | " |
236 | # kernel-module-tun | 325 | |
237 | # kernel-module-ide-disk | 326 | # |
238 | # kernel-module-ide-probe-mo | 327 | # GPE/OPIE/OpenMoko provide own touchscreen calibration utils |
239 | # kernel-module-loop | 328 | # |
240 | # kernel-module-vfat | 329 | RDEPENDS_task-base-touchscreen = "\ |
241 | # kernel-module-ext2 | 330 | tslib-tests \ |
242 | # kernel-module-nfs | 331 | tslib-calibrate " |
243 | # kernel-module-sco | 332 | |
244 | # kernel-module-af_packet | 333 | RDEPENDS_task-base-ipv6 = "\ |
245 | # kernel-module-ip-gre | 334 | " |
246 | # kernel-module-ip-tables | 335 | |
247 | # kernel-module-ipip | 336 | RRECOMMENDS_task-base-ipv6 = "\ |
248 | # kernel-module-des | 337 | kernel-module-ipv6 " |
249 | # kernel-module-md5 | 338 | |
250 | # kernel-module-8250 | 339 | RDEPENDS_task-base-serial = "\ |
251 | # Should be DISTRO_EXTRA_RRECOMMENDS: lrzsz | 340 | setserial \ |
341 | lrzsz " | ||