diff options
Diffstat (limited to 'meta/recipes-core/packagegroups')
15 files changed, 1065 insertions, 0 deletions
diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb new file mode 100644 index 0000000000..0c6a530be6 --- /dev/null +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | # | ||
2 | # Copyright (C) 2007 OpenedHand Ltd | ||
3 | # | ||
4 | |||
5 | SUMMARY = "Host packages for the standalone SDK or external toolchain" | ||
6 | PR = "r12" | ||
7 | LICENSE = "MIT" | ||
8 | |||
9 | inherit packagegroup nativesdk | ||
10 | |||
11 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
12 | |||
13 | RDEPENDS_${PN} = "\ | ||
14 | nativesdk-pkgconfig \ | ||
15 | nativesdk-qemu \ | ||
16 | nativesdk-qemu-helper \ | ||
17 | nativesdk-pseudo \ | ||
18 | nativesdk-unfs3 \ | ||
19 | nativesdk-opkg \ | ||
20 | nativesdk-libtool \ | ||
21 | nativesdk-autoconf \ | ||
22 | nativesdk-automake \ | ||
23 | nativesdk-shadow \ | ||
24 | nativesdk-makedevs \ | ||
25 | nativesdk-smartpm \ | ||
26 | nativesdk-postinst-intercept \ | ||
27 | " | ||
28 | |||
29 | RDEPENDS_${PN}_darwin = "\ | ||
30 | nativesdk-pkgconfig \ | ||
31 | nativesdk-opkg \ | ||
32 | nativesdk-libtool \ | ||
33 | " | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb new file mode 100644 index 0000000000..368c318f01 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb | |||
@@ -0,0 +1,373 @@ | |||
1 | SUMMARY = "Merge machine and distro options to create a basic machine task/package" | ||
2 | LICENSE = "MIT" | ||
3 | PR = "r83" | ||
4 | |||
5 | inherit packagegroup | ||
6 | |||
7 | PROVIDES = "${PACKAGES}" | ||
8 | PACKAGES = ' \ | ||
9 | packagegroup-base \ | ||
10 | packagegroup-base-extended \ | ||
11 | packagegroup-distro-base \ | ||
12 | packagegroup-machine-base \ | ||
13 | \ | ||
14 | ${@base_contains("MACHINE_FEATURES", "acpi", "packagegroup-base-acpi", "",d)} \ | ||
15 | ${@base_contains("MACHINE_FEATURES", "alsa", "packagegroup-base-alsa", "", d)} \ | ||
16 | ${@base_contains("MACHINE_FEATURES", "apm", "packagegroup-base-apm", "", d)} \ | ||
17 | ${@base_contains("MACHINE_FEATURES", "ext2", "packagegroup-base-ext2", "", d)} \ | ||
18 | ${@base_contains("MACHINE_FEATURES", "vfat", "packagegroup-base-vfat", "", d)} \ | ||
19 | ${@base_contains("MACHINE_FEATURES", "irda", "packagegroup-base-irda", "",d)} \ | ||
20 | ${@base_contains("MACHINE_FEATURES", "keyboard", "packagegroup-base-keyboard", "", d)} \ | ||
21 | ${@base_contains("MACHINE_FEATURES", "pci", "packagegroup-base-pci", "",d)} \ | ||
22 | ${@base_contains("MACHINE_FEATURES", "pcmcia", "packagegroup-base-pcmcia", "", d)} \ | ||
23 | ${@base_contains("MACHINE_FEATURES", "phone", "packagegroup-base-phone", "", d)} \ | ||
24 | ${@base_contains("MACHINE_FEATURES", "serial", "packagegroup-base-serial", "", d)} \ | ||
25 | ${@base_contains("MACHINE_FEATURES", "usbgadget", "packagegroup-base-usbgadget", "", d)} \ | ||
26 | ${@base_contains("MACHINE_FEATURES", "usbhost", "packagegroup-base-usbhost", "", d)} \ | ||
27 | \ | ||
28 | ${@base_contains("DISTRO_FEATURES", "bluetooth", "packagegroup-base-bluetooth", "", d)} \ | ||
29 | ${@base_contains("DISTRO_FEATURES", "wifi", "packagegroup-base-wifi", "", d)} \ | ||
30 | ${@base_contains("DISTRO_FEATURES", "3g", "packagegroup-base-3g", "", d)} \ | ||
31 | ${@base_contains("DISTRO_FEATURES", "nfc", "packagegroup-base-nfc", "", d)} \ | ||
32 | ${@base_contains("DISTRO_FEATURES", "cramfs", "packagegroup-base-cramfs", "", d)} \ | ||
33 | ${@base_contains("DISTRO_FEATURES", "ipsec", "packagegroup-base-ipsec", "", d)} \ | ||
34 | ${@base_contains("DISTRO_FEATURES", "ipv6", "packagegroup-base-ipv6", "", d)} \ | ||
35 | ${@base_contains("DISTRO_FEATURES", "nfs", "packagegroup-base-nfs", "", d)} \ | ||
36 | ${@base_contains("DISTRO_FEATURES", "ppp", "packagegroup-base-ppp", "", d)} \ | ||
37 | ${@base_contains("DISTRO_FEATURES", "smbfs", "packagegroup-base-smbfs", "", d)} \ | ||
38 | ${@base_contains("DISTRO_FEATURES", "zeroconf", "packagegroup-base-zeroconf", "", d)} \ | ||
39 | \ | ||
40 | ' | ||
41 | |||
42 | # | ||
43 | # packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH | ||
44 | # | ||
45 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
46 | |||
47 | # Override by distro if needed | ||
48 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" | ||
49 | |||
50 | # | ||
51 | # packagegroup-base contain stuff needed for base system (machine related) | ||
52 | # | ||
53 | RDEPENDS_packagegroup-base = "\ | ||
54 | packagegroup-distro-base \ | ||
55 | packagegroup-machine-base \ | ||
56 | \ | ||
57 | sysfsutils \ | ||
58 | module-init-tools \ | ||
59 | ${@base_contains('MACHINE_FEATURES', 'apm', 'packagegroup-base-apm', '',d)} \ | ||
60 | ${@base_contains('MACHINE_FEATURES', 'acpi', 'packagegroup-base-acpi', '',d)} \ | ||
61 | ${@base_contains('MACHINE_FEATURES', 'keyboard', 'packagegroup-base-keyboard', '',d)} \ | ||
62 | ${@base_contains('MACHINE_FEATURES', 'phone', 'packagegroup-base-phone', '',d)} \ | ||
63 | \ | ||
64 | ${@base_contains('COMBINED_FEATURES', 'alsa', 'packagegroup-base-alsa', '',d)} \ | ||
65 | ${@base_contains('COMBINED_FEATURES', 'ext2', 'packagegroup-base-ext2', '',d)} \ | ||
66 | ${@base_contains('COMBINED_FEATURES', 'vfat', 'packagegroup-base-vfat', '',d)} \ | ||
67 | ${@base_contains('COMBINED_FEATURES', 'irda', 'packagegroup-base-irda', '',d)} \ | ||
68 | ${@base_contains('COMBINED_FEATURES', 'pci', 'packagegroup-base-pci', '',d)} \ | ||
69 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'packagegroup-base-pcmcia', '',d)} \ | ||
70 | ${@base_contains('COMBINED_FEATURES', 'usbgadget', 'packagegroup-base-usbgadget', '',d)} \ | ||
71 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'packagegroup-base-usbhost', '',d)} \ | ||
72 | ${@base_contains('COMBINED_FEATURES', 'bluetooth', 'packagegroup-base-bluetooth', '',d)} \ | ||
73 | ${@base_contains('COMBINED_FEATURES', 'wifi', 'packagegroup-base-wifi', '',d)} \ | ||
74 | ${@base_contains('COMBINED_FEATURES', '3g', 'packagegroup-base-3g', '',d)} \ | ||
75 | ${@base_contains('COMBINED_FEATURES', 'nfc', 'packagegroup-base-nfc', '',d)} \ | ||
76 | \ | ||
77 | ${@base_contains('DISTRO_FEATURES', 'nfs', 'packagegroup-base-nfs', '',d)} \ | ||
78 | ${@base_contains('DISTRO_FEATURES', 'cramfs', 'packagegroup-base-cramfs', '',d)} \ | ||
79 | ${@base_contains('DISTRO_FEATURES', 'smbfs', 'packagegroup-base-smbfs', '',d)} \ | ||
80 | ${@base_contains('DISTRO_FEATURES', 'ipv6', 'packagegroup-base-ipv6', '',d)} \ | ||
81 | ${@base_contains('DISTRO_FEATURES', 'ipsec', 'packagegroup-base-ipsec', '',d)} \ | ||
82 | ${@base_contains('DISTRO_FEATURES', 'ppp', 'packagegroup-base-ppp', '',d)} \ | ||
83 | ${@base_contains('DISTRO_FEATURES', 'zeroconf', 'packagegroup-base-zeroconf', '',d)} \ | ||
84 | " | ||
85 | |||
86 | |||
87 | RRECOMMENDS_packagegroup-base = "\ | ||
88 | kernel-module-nls-utf8 \ | ||
89 | kernel-module-input \ | ||
90 | kernel-module-uinput \ | ||
91 | kernel-module-rtc-dev \ | ||
92 | kernel-module-rtc-proc \ | ||
93 | kernel-module-rtc-sysfs \ | ||
94 | kernel-module-unix" | ||
95 | |||
96 | RDEPENDS_packagegroup-base-extended = "\ | ||
97 | packagegroup-base \ | ||
98 | ${ADD_WIFI} \ | ||
99 | ${ADD_BT} \ | ||
100 | ${ADD_3G} \ | ||
101 | ${ADD_NFC} \ | ||
102 | " | ||
103 | |||
104 | ADD_WIFI = "" | ||
105 | ADD_BT = "" | ||
106 | ADD_3G = "" | ||
107 | ADD_NFC = "" | ||
108 | |||
109 | python __anonymous () { | ||
110 | # If Distro want wifi and machine feature wifi/pci/pcmcia/usbhost (one of them) | ||
111 | # then include packagegroup-base-wifi in packagegroup-base | ||
112 | |||
113 | distro_features = set(d.getVar("DISTRO_FEATURES", True).split()) | ||
114 | machine_features= set(d.getVar("MACHINE_FEATURES", True).split()) | ||
115 | |||
116 | 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): | ||
117 | d.setVar("ADD_BT", "packagegroup-base-bluetooth") | ||
118 | |||
119 | 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): | ||
120 | d.setVar("ADD_WIFI", "packagegroup-base-wifi") | ||
121 | |||
122 | if "3g" in distro_features and not "3g" in machine_features and ("pcmcia" in machine_features or "pci" in machine_features or "usbhost" in machine_features): | ||
123 | d.setVar("ADD_3G", "packagegroup-base-3g") | ||
124 | |||
125 | if "nfc" in distro_features and not "nfc" in machine_features and ("usbhost" in machine_features): | ||
126 | d.setVar("ADD_NFC", "packagegroup-base-nfc") | ||
127 | |||
128 | # For backwards compatibility after rename | ||
129 | packages = d.getVar("PACKAGES", True).split() | ||
130 | for pkg in packages: | ||
131 | d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-", "task-")) | ||
132 | d.appendVar("RREPLACES_%s" % pkg, pkg.replace("packagegroup-", "task-")) | ||
133 | d.appendVar("RCONFLICTS_%s" % pkg, pkg.replace("packagegroup-", "task-")) | ||
134 | } | ||
135 | |||
136 | # | ||
137 | # packages added by distribution | ||
138 | # | ||
139 | SUMMARY_packagegroup-distro-base = "${DISTRO} extras" | ||
140 | DEPENDS_packagegroup-distro-base = "${DISTRO_EXTRA_DEPENDS}" | ||
141 | RDEPENDS_packagegroup-distro-base = "${DISTRO_EXTRA_RDEPENDS}" | ||
142 | RRECOMMENDS_packagegroup-distro-base = "${DISTRO_EXTRA_RRECOMMENDS}" | ||
143 | |||
144 | # | ||
145 | # packages added by machine config | ||
146 | # | ||
147 | SUMMARY_packagegroup-machine-base = "${MACHINE} extras" | ||
148 | SUMMARY_packagegroup-machine-base = "Extra packages required to fully support ${MACHINE} hardware" | ||
149 | RDEPENDS_packagegroup-machine-base = "${MACHINE_EXTRA_RDEPENDS}" | ||
150 | RRECOMMENDS_packagegroup-machine-base = "${MACHINE_EXTRA_RRECOMMENDS}" | ||
151 | |||
152 | SUMMARY_packagegroup-base-keyboard = "Keyboard support" | ||
153 | RDEPENDS_packagegroup-base-keyboard = "\ | ||
154 | ${VIRTUAL-RUNTIME_keymaps}" | ||
155 | |||
156 | SUMMARY_packagegroup-base-pci = "PCI bus support" | ||
157 | RDEPENDS_packagegroup-base-pci = "\ | ||
158 | pciutils" | ||
159 | |||
160 | SUMMARY_packagegroup-base-acpi = "ACPI support" | ||
161 | RDEPENDS_packagegroup-base-acpi = "\ | ||
162 | acpid \ | ||
163 | libacpi " | ||
164 | |||
165 | SUMMARY_packagegroup-base-apm = "APM support" | ||
166 | RDEPENDS_packagegroup-base-apm = "\ | ||
167 | ${VIRTUAL-RUNTIME_apm} \ | ||
168 | apmd" | ||
169 | |||
170 | SUMMARY_packagegroup-base-ext2 = "ext2 filesystem support" | ||
171 | RDEPENDS_packagegroup-base-ext2 = "\ | ||
172 | hdparm \ | ||
173 | e2fsprogs \ | ||
174 | e2fsprogs-e2fsck \ | ||
175 | e2fsprogs-mke2fs" | ||
176 | |||
177 | SUMMARY_packagegroup-base-vfat = "FAT filesystem support" | ||
178 | RRECOMMENDS_packagegroup-base-vfat = "\ | ||
179 | kernel-module-msdos \ | ||
180 | kernel-module-vfat \ | ||
181 | kernel-module-nls-iso8859-1 \ | ||
182 | kernel-module-nls-cp437 \ | ||
183 | dosfstools" | ||
184 | |||
185 | SUMMARY_packagegroup-base-alsa = "ALSA sound support" | ||
186 | RDEPENDS_packagegroup-base-alsa = "\ | ||
187 | alsa-utils-alsactl \ | ||
188 | alsa-utils-alsamixer \ | ||
189 | ${VIRTUAL-RUNTIME_alsa-state}" | ||
190 | |||
191 | RRECOMMENDS_packagegroup-base-alsa = "\ | ||
192 | kernel-module-snd-mixer-oss \ | ||
193 | kernel-module-snd-pcm-oss" | ||
194 | |||
195 | SUMMARY_packagegroup-base-pcmcia = "PC card slot support" | ||
196 | RDEPENDS_packagegroup-base-pcmcia = "\ | ||
197 | pcmciautils \ | ||
198 | " | ||
199 | |||
200 | RRECOMMENDS_packagegroup-base-pcmcia = "\ | ||
201 | kernel-module-pcmcia \ | ||
202 | kernel-module-airo-cs \ | ||
203 | kernel-module-pcnet-cs \ | ||
204 | kernel-module-serial-cs \ | ||
205 | kernel-module-ide-cs \ | ||
206 | kernel-module-ide-disk \ | ||
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 | SUMMARY_packagegroup-base-bluetooth = "Bluetooth support" | ||
212 | RDEPENDS_packagegroup-base-bluetooth = "\ | ||
213 | bluez4 \ | ||
214 | ${@base_contains('COMBINED_FEATURES', 'alsa', 'libasound-module-bluez', '',d)} \ | ||
215 | " | ||
216 | |||
217 | RRECOMMENDS_packagegroup-base-bluetooth = "\ | ||
218 | kernel-module-bluetooth \ | ||
219 | kernel-module-l2cap \ | ||
220 | kernel-module-rfcomm \ | ||
221 | kernel-module-hci-vhci \ | ||
222 | kernel-module-bnep \ | ||
223 | kernel-module-hidp \ | ||
224 | kernel-module-hci-uart \ | ||
225 | kernel-module-sco \ | ||
226 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-hci-usb', '',d)} \ | ||
227 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluetooth3c-cs', '',d)} \ | ||
228 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluecard-cs', '',d)} \ | ||
229 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluetoothuart-cs', '',d)} \ | ||
230 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-dtl1-cs', '',d)} \ | ||
231 | " | ||
232 | |||
233 | SUMMARY_packagegroup-base-irda = "IrDA support" | ||
234 | RDEPENDS_packagegroup-base-irda = "\ | ||
235 | irda-utils" | ||
236 | |||
237 | RRECOMMENDS_packagegroup-base-irda = "\ | ||
238 | kernel-module-pxaficp-ir \ | ||
239 | kernel-module-irda \ | ||
240 | kernel-module-ircomm \ | ||
241 | kernel-module-ircomm-tty \ | ||
242 | kernel-module-irlan \ | ||
243 | ${@base_contains('DISTRO_FEATURES', 'ppp', 'kernel-module-irnet', '',d)} \ | ||
244 | kernel-module-irport \ | ||
245 | kernel-module-irtty \ | ||
246 | kernel-module-irtty-sir \ | ||
247 | kernel-module-sir-dev \ | ||
248 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-ir-usb', '',d)} " | ||
249 | |||
250 | SUMMARY_packagegroup-base-usbgadget = "USB gadget support" | ||
251 | RRECOMMENDS_packagegroup-base-usbgadget = "\ | ||
252 | kernel-module-pxa27x_udc \ | ||
253 | kernel-module-gadgetfs \ | ||
254 | kernel-module-g-file-storage \ | ||
255 | kernel-module-g-serial \ | ||
256 | kernel-module-g-ether" | ||
257 | |||
258 | SUMMARY_packagegroup-base-usbhost = "USB host support" | ||
259 | RDEPENDS_packagegroup-base-usbhost = "\ | ||
260 | usbutils " | ||
261 | |||
262 | RRECOMMENDS_packagegroup-base-usbhost = "\ | ||
263 | kernel-module-uhci-hcd \ | ||
264 | kernel-module-ohci-hcd \ | ||
265 | kernel-module-ehci-hcd \ | ||
266 | kernel-module-usbcore \ | ||
267 | kernel-module-usbhid \ | ||
268 | kernel-module-usbnet \ | ||
269 | kernel-module-sd-mod \ | ||
270 | kernel-module-scsi-mod \ | ||
271 | kernel-module-usbmouse \ | ||
272 | kernel-module-mousedev \ | ||
273 | kernel-module-usbserial \ | ||
274 | kernel-module-usb-storage " | ||
275 | |||
276 | SUMMARY_packagegroup-base-ppp = "PPP dial-up protocol support" | ||
277 | RDEPENDS_packagegroup-base-ppp = "\ | ||
278 | ppp \ | ||
279 | ppp-dialin" | ||
280 | |||
281 | RRECOMMENDS_packagegroup-base-ppp = "\ | ||
282 | kernel-module-ppp-async \ | ||
283 | kernel-module-ppp-deflate \ | ||
284 | kernel-module-ppp-generic \ | ||
285 | kernel-module-ppp-mppe \ | ||
286 | kernel-module-slhc" | ||
287 | |||
288 | SUMMARY_packagegroup-base-ipsec = "IPSEC support" | ||
289 | RDEPENDS_packagegroup-base-ipsec = "\ | ||
290 | " | ||
291 | |||
292 | RRECOMMENDS_packagegroup-base-ipsec = "\ | ||
293 | kernel-module-ipsec" | ||
294 | |||
295 | # | ||
296 | # packagegroup-base-wifi contain everything needed to get WiFi working | ||
297 | # WEP/WPA connection needs to be supported out-of-box | ||
298 | # | ||
299 | SUMMARY_packagegroup-base-wifi = "WiFi support" | ||
300 | RDEPENDS_packagegroup-base-wifi = "\ | ||
301 | wireless-tools \ | ||
302 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'hostap-utils', '',d)} \ | ||
303 | ${@base_contains('COMBINED_FEATURES', 'pci', 'hostap-utils', '',d)} \ | ||
304 | wpa-supplicant" | ||
305 | |||
306 | RRECOMMENDS_packagegroup-base-wifi = "\ | ||
307 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \ | ||
308 | kernel-module-ieee80211-crypt \ | ||
309 | kernel-module-ieee80211-crypt-ccmp \ | ||
310 | kernel-module-ieee80211-crypt-tkip \ | ||
311 | kernel-module-ieee80211-crypt-wep \ | ||
312 | kernel-module-ecb \ | ||
313 | kernel-module-arc4 \ | ||
314 | kernel-module-crypto_algapi \ | ||
315 | kernel-module-cryptomgr \ | ||
316 | kernel-module-michael-mic \ | ||
317 | kernel-module-aes-generic \ | ||
318 | kernel-module-aes" | ||
319 | |||
320 | SUMMARY_packagegroup-base-nfc = "Near Field Communication support" | ||
321 | RDEPENDS_packagegroup-base-nfc = "\ | ||
322 | neard" | ||
323 | |||
324 | RRECOMMENDS_packagegroup-base-nfc = "\ | ||
325 | kernel-module-nfc" | ||
326 | |||
327 | SUMMARY_packagegroup-base-3g = "Cellular data support" | ||
328 | RDEPENDS_packagegroup-base-3g = "\ | ||
329 | ofono" | ||
330 | |||
331 | RRECOMMENDS_packagegroup-base-3g = "\ | ||
332 | kernel-module-cdc-acm \ | ||
333 | kernel-module-cdc-wdm" | ||
334 | |||
335 | SUMMARY_packagegroup-base-smbfs = "SMB network filesystem support" | ||
336 | RRECOMMENDS_packagegroup-base-smbfs = "\ | ||
337 | kernel-module-cifs \ | ||
338 | kernel-module-smbfs" | ||
339 | |||
340 | SUMMARY_packagegroup-base-cramfs = "cramfs filesystem support" | ||
341 | RRECOMMENDS_packagegroup-base-cramfs = "\ | ||
342 | kernel-module-cramfs" | ||
343 | |||
344 | # | ||
345 | # packagegroup-base-nfs provides ONLY client support - server is in nfs-utils package | ||
346 | # | ||
347 | SUMMARY_packagegroup-base-nfs = "NFS network filesystem support" | ||
348 | RDEPENDS_packagegroup-base-nfs = "\ | ||
349 | rpcbind" | ||
350 | |||
351 | RRECOMMENDS_packagegroup-base-nfs = "\ | ||
352 | kernel-module-nfs " | ||
353 | |||
354 | SUMMARY_packagegroup-base-zeroconf = "Zeroconf support" | ||
355 | RDEPENDS_packagegroup-base-zeroconf = "\ | ||
356 | libnss-mdns \ | ||
357 | avahi-daemon" | ||
358 | |||
359 | SUMMARY_packagegroup-base-ipv6 = "IPv6 support" | ||
360 | RDEPENDS_packagegroup-base-ipv6 = "\ | ||
361 | " | ||
362 | |||
363 | RRECOMMENDS_packagegroup-base-ipv6 = "\ | ||
364 | kernel-module-ipv6 " | ||
365 | |||
366 | SUMMARY_packagegroup-base-serial = "Serial port support" | ||
367 | RDEPENDS_packagegroup-base-serial = "\ | ||
368 | setserial \ | ||
369 | lrzsz " | ||
370 | |||
371 | SUMMARY_packagegroup-base-phone = "Cellular telephony (voice) support" | ||
372 | RDEPENDS_packagegroup-base-phone = "\ | ||
373 | ofono" | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb new file mode 100644 index 0000000000..1154bc05b5 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | # | ||
2 | # Copyright (C) 2007 OpenedHand Ltd. | ||
3 | # | ||
4 | |||
5 | SUMMARY = "Minimal boot requirements" | ||
6 | DESCRIPTION = "The minimal set of packages required to boot the system" | ||
7 | LICENSE = "MIT" | ||
8 | PR = "r17" | ||
9 | |||
10 | inherit packagegroup | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | # | ||
15 | # Set by the machine configuration with packages essential for device bootup | ||
16 | # | ||
17 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | ||
18 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | ||
19 | |||
20 | # For backwards compatibility after rename | ||
21 | RPROVIDES_${PN} = "task-core-boot" | ||
22 | RREPLACES_${PN} = "task-core-boot" | ||
23 | RCONFLICTS_${PN} = "task-core-boot" | ||
24 | |||
25 | # Distro can override the following VIRTUAL-RUNTIME providers: | ||
26 | VIRTUAL-RUNTIME_dev_manager ?= "udev" | ||
27 | VIRTUAL-RUNTIME_login_manager ?= "busybox" | ||
28 | VIRTUAL-RUNTIME_init_manager ?= "sysvinit" | ||
29 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | ||
30 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" | ||
31 | |||
32 | SYSVINIT_SCRIPTS = "${@base_contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \ | ||
33 | modutils-initscripts \ | ||
34 | init-ifupdown \ | ||
35 | " | ||
36 | |||
37 | RDEPENDS_${PN} = "\ | ||
38 | base-files \ | ||
39 | base-passwd \ | ||
40 | busybox \ | ||
41 | ${@base_contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \ | ||
42 | ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ | ||
43 | netbase \ | ||
44 | ${VIRTUAL-RUNTIME_login_manager} \ | ||
45 | ${VIRTUAL-RUNTIME_init_manager} \ | ||
46 | ${VIRTUAL-RUNTIME_initscripts} \ | ||
47 | ${VIRTUAL-RUNTIME_dev_manager} \ | ||
48 | ${VIRTUAL-RUNTIME_update-alternatives} \ | ||
49 | ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" | ||
50 | |||
51 | RRECOMMENDS_${PN} = "\ | ||
52 | ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb b/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb new file mode 100644 index 0000000000..74ed247512 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | # | ||
2 | # Copyright (C) 2007 OpenedHand Ltd. | ||
3 | # Copyright (C) 2012 Red Hat, Inc. | ||
4 | # | ||
5 | |||
6 | SUMMARY = "Essential build dependencies" | ||
7 | LICENSE = "MIT" | ||
8 | |||
9 | inherit packagegroup | ||
10 | |||
11 | RDEPENDS_packagegroup-core-buildessential = "\ | ||
12 | autoconf \ | ||
13 | automake \ | ||
14 | binutils \ | ||
15 | binutils-symlinks \ | ||
16 | cpp \ | ||
17 | cpp-symlinks \ | ||
18 | gcc \ | ||
19 | gcc-symlinks \ | ||
20 | g++ \ | ||
21 | g++-symlinks \ | ||
22 | gettext \ | ||
23 | make \ | ||
24 | libstdc++ \ | ||
25 | libstdc++-dev \ | ||
26 | libtool \ | ||
27 | pkgconfig \ | ||
28 | " | ||
29 | |||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb new file mode 100644 index 0000000000..e7b013d406 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | SUMMARY = "Remote debugging tools for Eclipse integration" | ||
2 | LICENSE = "MIT" | ||
3 | |||
4 | inherit packagegroup | ||
5 | |||
6 | RDEPENDS_${PN} = "\ | ||
7 | gdbserver \ | ||
8 | tcf-agent \ | ||
9 | openssh-sftp-server \ | ||
10 | " | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb b/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb new file mode 100644 index 0000000000..24c98c4938 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | # | ||
2 | # Copyright (C) 2008 OpenedHand Ltd. | ||
3 | # | ||
4 | |||
5 | SUMMARY = "NFS package groups" | ||
6 | LICENSE = "MIT" | ||
7 | PR = "r2" | ||
8 | |||
9 | inherit packagegroup | ||
10 | |||
11 | PACKAGES = "${PN}-server" | ||
12 | |||
13 | # For backwards compatibility after rename | ||
14 | RPROVIDES_${PN}-server = "task-core-nfs-server" | ||
15 | RREPLACES_${PN}-server = "task-core-nfs-server" | ||
16 | RCONFLICTS_${PN}-server = "task-core-nfs-server" | ||
17 | |||
18 | SUMMARY_${PN}-server = "NFS server" | ||
19 | RDEPENDS_${PN}-server = "\ | ||
20 | nfs-utils \ | ||
21 | nfs-utils-client \ | ||
22 | " | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb new file mode 100644 index 0000000000..172398929c --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | |||
@@ -0,0 +1,77 @@ | |||
1 | # | ||
2 | # Copyright (C) 2007 OpenedHand Ltd. | ||
3 | # | ||
4 | |||
5 | SUMMARY = "Software development tools" | ||
6 | LICENSE = "MIT" | ||
7 | PR = "r9" | ||
8 | |||
9 | inherit packagegroup | ||
10 | |||
11 | #PACKAGEFUNCS =+ 'generate_sdk_pkgs' | ||
12 | |||
13 | # For backwards compatibility after rename | ||
14 | RPROVIDES_packagegroup-core-sdk = "task-core-sdk" | ||
15 | RREPLACES_packagegroup-core-sdk = "task-core-sdk" | ||
16 | RCONFLICTS_packagegroup-core-sdk = "task-core-sdk" | ||
17 | |||
18 | RDEPENDS_packagegroup-core-sdk = "\ | ||
19 | packagegroup-core-buildessential \ | ||
20 | coreutils \ | ||
21 | ccache \ | ||
22 | diffutils \ | ||
23 | intltool \ | ||
24 | perl-module-re \ | ||
25 | perl-module-text-wrap \ | ||
26 | findutils \ | ||
27 | quilt \ | ||
28 | less \ | ||
29 | distcc \ | ||
30 | ldd \ | ||
31 | file \ | ||
32 | tcl" | ||
33 | |||
34 | RRECOMMENDS_packagegroup-core-sdk = "\ | ||
35 | libgomp \ | ||
36 | libgomp-dev" | ||
37 | |||
38 | #python generate_sdk_pkgs () { | ||
39 | # poky_pkgs = read_pkgdata('packagegroup-core', d)['PACKAGES'] | ||
40 | # pkgs = d.getVar('PACKAGES', True).split() | ||
41 | # for pkg in poky_pkgs.split(): | ||
42 | # newpkg = pkg.replace('packagegroup-core', 'packagegroup-core-sdk') | ||
43 | # | ||
44 | # # for each of the task packages, add a corresponding sdk task | ||
45 | # pkgs.append(newpkg) | ||
46 | # | ||
47 | # # for each sdk task, take the rdepends of the non-sdk task, and turn | ||
48 | # # that into rrecommends upon the -dev versions of those, not unlike | ||
49 | # # the package depchain code | ||
50 | # spkgdata = read_subpkgdata(pkg, d) | ||
51 | # | ||
52 | # rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '') | ||
53 | # rreclist = [] | ||
54 | # | ||
55 | # for depend in rdepends: | ||
56 | # split_depend = depend.split(' (') | ||
57 | # name = split_depend[0].strip() | ||
58 | # if packaged('%s-dev' % name, d): | ||
59 | # rreclist.append('%s-dev' % name) | ||
60 | # else: | ||
61 | # deppkgdata = read_subpkgdata(name, d) | ||
62 | # rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '') | ||
63 | # for depend in rdepends2: | ||
64 | # split_depend = depend.split(' (') | ||
65 | # name = split_depend[0].strip() | ||
66 | # if packaged('%s-dev' % name, d): | ||
67 | # rreclist.append('%s-dev' % name) | ||
68 | # | ||
69 | # oldrrec = d.getVar('RRECOMMENDS_%s' % newpkg) or '' | ||
70 | # d.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist)) | ||
71 | # # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, d.getVar('RRECOMMENDS_%s' % newpkg))) | ||
72 | # | ||
73 | # # bb.note('pkgs is %s' % pkgs) | ||
74 | # d.setVar('PACKAGES', ' '.join(pkgs)) | ||
75 | #} | ||
76 | # | ||
77 | #PACKAGES_DYNAMIC += "^packagegroup-core-sdk-.*" | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb new file mode 100644 index 0000000000..458d8fa036 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "Dropbear SSH client/server" | ||
2 | LICENSE = "MIT" | ||
3 | PR = "r1" | ||
4 | |||
5 | inherit packagegroup | ||
6 | |||
7 | # For backwards compatibility after rename | ||
8 | RPROVIDES_${PN} = "task-core-ssh-dropbear" | ||
9 | RREPLACES_${PN} = "task-core-ssh-dropbear" | ||
10 | RCONFLICTS_${PN} = "task-core-ssh-dropbear" | ||
11 | |||
12 | RDEPENDS_${PN} = "dropbear" | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb new file mode 100644 index 0000000000..df70962912 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "OpenSSH SSH client/server" | ||
2 | LICENSE = "MIT" | ||
3 | PR = "r1" | ||
4 | |||
5 | inherit packagegroup | ||
6 | |||
7 | # For backwards compatibility after rename | ||
8 | RPROVIDES_${PN} = "task-core-ssh-openssh" | ||
9 | RREPLACES_${PN} = "task-core-ssh-openssh" | ||
10 | RCONFLICTS_${PN} = "task-core-ssh-openssh" | ||
11 | |||
12 | RDEPENDS_${PN} = "openssh" | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb new file mode 100644 index 0000000000..3325ef672e --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Target packages for the standalone SDK" | ||
2 | PR = "r8" | ||
3 | LICENSE = "MIT" | ||
4 | |||
5 | inherit packagegroup | ||
6 | |||
7 | # For backwards compatibility after rename | ||
8 | RPROVIDES_${PN} = "task-core-standalone-sdk-target" | ||
9 | RREPLACES_${PN} = "task-core-standalone-sdk-target" | ||
10 | RCONFLICTS_${PN} = "task-core-standalone-sdk-target" | ||
11 | RPROVIDES_${PN}-dbg = "task-core-standalone-sdk-target-dbg" | ||
12 | RREPLACES_${PN}-dbg = "task-core-standalone-sdk-target-dbg" | ||
13 | RCONFLICTS_${PN}-dbg = "task-core-standalone-sdk-target-dbg" | ||
14 | |||
15 | RDEPENDS_${PN} = "\ | ||
16 | libgcc \ | ||
17 | libgcc-dev \ | ||
18 | libstdc++ \ | ||
19 | libstdc++-dev \ | ||
20 | ${LIBC_DEPENDENCIES} \ | ||
21 | qemuwrapper-cross \ | ||
22 | " | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb new file mode 100644 index 0000000000..f72aae4c9d --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | # | ||
2 | # Copyright (C) 2008 OpenedHand Ltd. | ||
3 | # | ||
4 | |||
5 | SUMMARY = "Debugging tools" | ||
6 | LICENSE = "MIT" | ||
7 | |||
8 | inherit packagegroup | ||
9 | |||
10 | PR = "r2" | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | # For backwards compatibility after rename | ||
15 | RPROVIDES_${PN} = "task-core-tools-debug" | ||
16 | RREPLACES_${PN} = "task-core-tools-debug" | ||
17 | RCONFLICTS_${PN} = "task-core-tools-debug" | ||
18 | |||
19 | MTRACE = "" | ||
20 | MTRACE_libc-glibc = "libc-mtrace" | ||
21 | |||
22 | RDEPENDS_${PN} = "\ | ||
23 | gdb \ | ||
24 | gdbserver \ | ||
25 | strace \ | ||
26 | ${MTRACE} \ | ||
27 | " | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb new file mode 100644 index 0000000000..80f3031ff5 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | |||
@@ -0,0 +1,86 @@ | |||
1 | # | ||
2 | # Copyright (C) 2008 OpenedHand Ltd. | ||
3 | # | ||
4 | |||
5 | SUMMARY = "Profiling tools" | ||
6 | LICENSE = "MIT" | ||
7 | |||
8 | PR = "r3" | ||
9 | |||
10 | inherit packagegroup | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | # For backwards compatibility after rename | ||
15 | RPROVIDES_${PN} = "task-core-tools-profile" | ||
16 | RREPLACES_${PN} = "task-core-tools-profile" | ||
17 | RCONFLICTS_${PN} = "task-core-tools-profile" | ||
18 | |||
19 | PROFILE_TOOLS_X = "${@base_contains('DISTRO_FEATURES', 'x11', 'sysprof', '', d)}" | ||
20 | PROFILE_TOOLS_SYSTEMD = "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd-analyze', '', d)}" | ||
21 | |||
22 | RRECOMMENDS_${PN} = "\ | ||
23 | perf \ | ||
24 | trace-cmd \ | ||
25 | kernel-module-oprofile \ | ||
26 | blktrace \ | ||
27 | ${PROFILE_TOOLS_X} \ | ||
28 | ${PROFILE_TOOLS_SYSTEMD} \ | ||
29 | " | ||
30 | |||
31 | PROFILETOOLS = "\ | ||
32 | oprofile \ | ||
33 | oprofileui-server \ | ||
34 | powertop \ | ||
35 | latencytop \ | ||
36 | " | ||
37 | |||
38 | # systemtap needs elfutils which is not fully buildable on uclibc | ||
39 | # hence we exclude it from uclibc based builds | ||
40 | SYSTEMTAP = "systemtap" | ||
41 | SYSTEMTAP_libc-uclibc = "" | ||
42 | SYSTEMTAP_mips = "" | ||
43 | SYSTEMTAP_mips64 = "" | ||
44 | SYSTEMTAP_aarch64 = "" | ||
45 | |||
46 | # lttng-ust uses sched_getcpu() which is not there on uclibc | ||
47 | # for some of the architectures it can be patched to call the | ||
48 | # syscall directly but for x86_64 __NR_getcpu is a vsyscall | ||
49 | # which means we can not use syscall() to call it. So we ignore | ||
50 | # it for x86_64/uclibc | ||
51 | |||
52 | LTTNGUST = "lttng-ust" | ||
53 | LTTNGUST_libc-uclibc = "" | ||
54 | LTTNGUST_aarch64 = "" | ||
55 | |||
56 | LTTNGTOOLS = "lttng-tools" | ||
57 | LTTNGTOOLS_aarch64 = "" | ||
58 | |||
59 | LTTNGMODULES = "lttng-modules" | ||
60 | LTTNGMODULES_aarch64 = "" | ||
61 | LTTNGMODULES_arm = "" | ||
62 | |||
63 | BABELTRACE = "babeltrace" | ||
64 | BABELTRACE_aarch64 = "" | ||
65 | |||
66 | # valgrind does not work on mips | ||
67 | |||
68 | VALGRIND = "valgrind" | ||
69 | VALGRIND_libc-uclibc = "" | ||
70 | VALGRIND_mips = "" | ||
71 | VALGRIND_mips64 = "" | ||
72 | VALGRIND_arm = "" | ||
73 | VALGRIND_aarch64 = "" | ||
74 | |||
75 | # exmap-console | ||
76 | # exmap-server | ||
77 | |||
78 | RDEPENDS_${PN} = "\ | ||
79 | ${PROFILETOOLS} \ | ||
80 | ${LTTNGUST} \ | ||
81 | ${LTTNGTOOLS} \ | ||
82 | ${LTTNGMODULES} \ | ||
83 | ${BABELTRACE} \ | ||
84 | ${SYSTEMTAP} \ | ||
85 | ${VALGRIND} \ | ||
86 | " | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb new file mode 100644 index 0000000000..952fbd0d1a --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb | |||
@@ -0,0 +1,63 @@ | |||
1 | # | ||
2 | # Copyright (C) 2008 OpenedHand Ltd. | ||
3 | # | ||
4 | |||
5 | SUMMARY = "Testing tools/applications" | ||
6 | LICENSE = "MIT" | ||
7 | |||
8 | PR = "r2" | ||
9 | |||
10 | inherit packagegroup | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | # For backwards compatibility after rename | ||
15 | RPROVIDES_${PN} = "task-core-tools-testapps" | ||
16 | RREPLACES_${PN} = "task-core-tools-testapps" | ||
17 | RCONFLICTS_${PN} = "task-core-tools-testapps" | ||
18 | |||
19 | # kexec-tools doesn't work on Mips | ||
20 | KEXECTOOLS ?= "kexec" | ||
21 | KEXECTOOLS_mips ?= "" | ||
22 | KEXECTOOLS_mipsel ?= "" | ||
23 | KEXECTOOLS_powerpc ?= "" | ||
24 | KEXECTOOLS_e5500-64b ?= "" | ||
25 | KEXECTOOLS_aarch64 ?= "" | ||
26 | |||
27 | X11GLTOOLS = "\ | ||
28 | mesa-demos \ | ||
29 | piglit \ | ||
30 | " | ||
31 | |||
32 | 3GTOOLS = "\ | ||
33 | ofono-tests \ | ||
34 | " | ||
35 | |||
36 | X11TOOLS = "\ | ||
37 | fstests \ | ||
38 | owl-video \ | ||
39 | x11perf \ | ||
40 | xrestop \ | ||
41 | xwininfo \ | ||
42 | xprop \ | ||
43 | xvideo-tests \ | ||
44 | " | ||
45 | |||
46 | RDEPENDS_${PN} = "\ | ||
47 | blktool \ | ||
48 | tslib-calibrate \ | ||
49 | tslib-tests \ | ||
50 | lrzsz \ | ||
51 | ${KEXECTOOLS} \ | ||
52 | alsa-utils-amixer \ | ||
53 | alsa-utils-aplay \ | ||
54 | gst-meta-video \ | ||
55 | gst-meta-audio \ | ||
56 | ltp \ | ||
57 | connman-tools \ | ||
58 | connman-tests \ | ||
59 | connman-client \ | ||
60 | ${@base_contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \ | ||
61 | ${@base_contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", d)} \ | ||
62 | ${@base_contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \ | ||
63 | " | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb new file mode 100644 index 0000000000..e3b1c18fa9 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "Host SDK package for cross canadian toolchain" | ||
2 | PN = "packagegroup-cross-canadian-${MACHINE}" | ||
3 | LICENSE = "MIT" | ||
4 | |||
5 | # Save TRANSLATED_TARGET_ARCH before allarch tramples it | ||
6 | TRANSLATED_TARGET_ARCH = "${@d.getVar('TUNE_ARCH', True).replace('_', '-')}" | ||
7 | |||
8 | inherit cross-canadian packagegroup | ||
9 | |||
10 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
11 | |||
12 | RDEPENDS_${PN} = "\ | ||
13 | binutils-cross-canadian-${@' binutils-cross-canadian-'.join(all_multilib_tune_values(d,'TRANSLATED_TARGET_ARCH').split())} \ | ||
14 | gdb-cross-canadian-${@' gdb-cross-canadian-'.join(all_multilib_tune_values(d, 'TRANSLATED_TARGET_ARCH').split())} \ | ||
15 | gcc-cross-canadian-${@' gcc-cross-canadian-'.join(all_multilib_tune_values(d, 'TRANSLATED_TARGET_ARCH').split())} \ | ||
16 | meta-environment-${MACHINE} \ | ||
17 | " | ||
18 | |||
diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb new file mode 100644 index 0000000000..8e3b917c75 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | |||
@@ -0,0 +1,229 @@ | |||
1 | # | ||
2 | # Copyright (C) 2010 Intel Corporation | ||
3 | # | ||
4 | |||
5 | SUMMARY = "Self-hosting" | ||
6 | DESCRIPTION = "Packages required to run the build system" | ||
7 | PR = "r13" | ||
8 | LICENSE = "MIT" | ||
9 | |||
10 | inherit packagegroup | ||
11 | |||
12 | PACKAGES = "\ | ||
13 | packagegroup-self-hosted \ | ||
14 | packagegroup-self-hosted-debug \ | ||
15 | packagegroup-self-hosted-sdk \ | ||
16 | packagegroup-self-hosted-extended \ | ||
17 | packagegroup-self-hosted-graphics \ | ||
18 | packagegroup-self-hosted-host-tools \ | ||
19 | " | ||
20 | |||
21 | RDEPENDS_packagegroup-self-hosted = "\ | ||
22 | packagegroup-self-hosted-debug \ | ||
23 | packagegroup-self-hosted-sdk \ | ||
24 | packagegroup-self-hosted-extended \ | ||
25 | packagegroup-self-hosted-graphics \ | ||
26 | packagegroup-self-hosted-host-tools \ | ||
27 | " | ||
28 | |||
29 | # midori depends on webkit-gtk which could not build for mips64 | ||
30 | MIDORI = "midori" | ||
31 | MIDORI_mips64 = "" | ||
32 | |||
33 | RDEPENDS_packagegroup-self-hosted-host-tools = "\ | ||
34 | connman \ | ||
35 | connman-plugin-ethernet \ | ||
36 | dhcp-client \ | ||
37 | e2fsprogs \ | ||
38 | e2fsprogs-e2fsck \ | ||
39 | e2fsprogs-mke2fs \ | ||
40 | e2fsprogs-tune2fs \ | ||
41 | hdparm \ | ||
42 | iptables \ | ||
43 | lsb \ | ||
44 | xdg-utils \ | ||
45 | mc \ | ||
46 | mc-fish \ | ||
47 | mc-helpers \ | ||
48 | mc-helpers-perl \ | ||
49 | mc-helpers-python \ | ||
50 | leafpad \ | ||
51 | ${MIDORI} \ | ||
52 | pcmanfm \ | ||
53 | parted \ | ||
54 | pseudo \ | ||
55 | screen \ | ||
56 | vte \ | ||
57 | " | ||
58 | |||
59 | RRECOMMENDS_packagegroup-self-hosted-host-tools = "\ | ||
60 | kernel-module-tun \ | ||
61 | kernel-module-iptable-raw \ | ||
62 | kernel-module-iptable-nat \ | ||
63 | kernel-module-iptable-mangle \ | ||
64 | kernel-module-iptable-filter \ | ||
65 | " | ||
66 | |||
67 | # eglibc-utils: for rpcgen | ||
68 | RDEPENDS_packagegroup-self-hosted-sdk = "\ | ||
69 | autoconf \ | ||
70 | automake \ | ||
71 | binutils \ | ||
72 | binutils-symlinks \ | ||
73 | ccache \ | ||
74 | coreutils \ | ||
75 | cpp \ | ||
76 | cpp-symlinks \ | ||
77 | distcc \ | ||
78 | eglibc-utils \ | ||
79 | eglibc-gconv-ibm850 \ | ||
80 | file \ | ||
81 | findutils \ | ||
82 | g++ \ | ||
83 | g++-symlinks \ | ||
84 | gcc \ | ||
85 | gcc-symlinks \ | ||
86 | intltool \ | ||
87 | ldd \ | ||
88 | less \ | ||
89 | libssp \ | ||
90 | libssp-dev \ | ||
91 | libssp-staticdev \ | ||
92 | libstdc++ \ | ||
93 | libstdc++-dev \ | ||
94 | libtool \ | ||
95 | make \ | ||
96 | mktemp \ | ||
97 | perl-module-re \ | ||
98 | perl-module-text-wrap \ | ||
99 | pkgconfig \ | ||
100 | quilt \ | ||
101 | sed \ | ||
102 | " | ||
103 | |||
104 | RDEPENDS_packagegroup-self-hosted-debug = " \ | ||
105 | gdb \ | ||
106 | gdbserver \ | ||
107 | rsync \ | ||
108 | strace \ | ||
109 | tcf-agent" | ||
110 | |||
111 | |||
112 | RDEPENDS_packagegroup-self-hosted-extended = "\ | ||
113 | bzip2 \ | ||
114 | chkconfig \ | ||
115 | chrpath \ | ||
116 | cpio \ | ||
117 | curl \ | ||
118 | diffstat \ | ||
119 | diffutils \ | ||
120 | elfutils \ | ||
121 | expat \ | ||
122 | gamin \ | ||
123 | gawk \ | ||
124 | gdbm \ | ||
125 | gettext \ | ||
126 | gettext-runtime \ | ||
127 | git \ | ||
128 | grep \ | ||
129 | groff \ | ||
130 | gzip \ | ||
131 | settings-daemon \ | ||
132 | hicolor-icon-theme \ | ||
133 | sato-icon-theme \ | ||
134 | libaio \ | ||
135 | libusb1 \ | ||
136 | libxml2 \ | ||
137 | lrzsz \ | ||
138 | lsof \ | ||
139 | lzo \ | ||
140 | man \ | ||
141 | man-pages \ | ||
142 | mdadm \ | ||
143 | minicom \ | ||
144 | mtools \ | ||
145 | ncurses \ | ||
146 | ncurses-terminfo-base \ | ||
147 | neon \ | ||
148 | nfs-utils \ | ||
149 | nfs-utils-client \ | ||
150 | openssl \ | ||
151 | openssh-sftp-server \ | ||
152 | opkg \ | ||
153 | opkg-utils \ | ||
154 | patch \ | ||
155 | perl \ | ||
156 | perl-dev \ | ||
157 | perl-modules \ | ||
158 | perl-pod \ | ||
159 | ${PTH} \ | ||
160 | python \ | ||
161 | python-compile \ | ||
162 | python-compiler \ | ||
163 | python-compression \ | ||
164 | python-core \ | ||
165 | python-curses \ | ||
166 | python-datetime \ | ||
167 | python-difflib \ | ||
168 | python-distutils \ | ||
169 | python-elementtree \ | ||
170 | python-email \ | ||
171 | python-fcntl \ | ||
172 | python-git \ | ||
173 | python-json \ | ||
174 | python-logging \ | ||
175 | python-misc \ | ||
176 | python-mmap \ | ||
177 | python-multiprocessing \ | ||
178 | python-netclient \ | ||
179 | python-netserver \ | ||
180 | python-pickle \ | ||
181 | python-pkgutil \ | ||
182 | python-pprint \ | ||
183 | python-re \ | ||
184 | python-rpm \ | ||
185 | python-shell \ | ||
186 | python-sqlite3 \ | ||
187 | python-subprocess \ | ||
188 | python-textutils \ | ||
189 | python-unittest \ | ||
190 | python-unixadmin \ | ||
191 | python-xmlrpc \ | ||
192 | quota \ | ||
193 | readline \ | ||
194 | rpm \ | ||
195 | setserial \ | ||
196 | socat \ | ||
197 | subversion \ | ||
198 | sudo \ | ||
199 | sysstat \ | ||
200 | tar \ | ||
201 | tcl \ | ||
202 | texi2html \ | ||
203 | texinfo \ | ||
204 | unzip \ | ||
205 | usbutils \ | ||
206 | watchdog \ | ||
207 | wget \ | ||
208 | which \ | ||
209 | xinetd \ | ||
210 | zip \ | ||
211 | zlib \ | ||
212 | xz \ | ||
213 | " | ||
214 | |||
215 | |||
216 | RDEPENDS_packagegroup-self-hosted-graphics = "\ | ||
217 | builder \ | ||
218 | libgl \ | ||
219 | libgl-dev \ | ||
220 | libglu \ | ||
221 | libglu-dev \ | ||
222 | libsdl \ | ||
223 | libsdl-dev \ | ||
224 | libx11-dev \ | ||
225 | python-pygtk \ | ||
226 | gtk-theme-clearlooks \ | ||
227 | " | ||
228 | PTH = "pth" | ||
229 | PTH_libc-uclibc = "" | ||