diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-08-29 11:38:34 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-04 12:52:55 +0100 |
| commit | 272cb74d70686cb7f72005dc25e02f38b46ecd57 (patch) | |
| tree | 3a5e4cb0c9a2e407b2d04c78b1eb51d0f429ca64 /meta/recipes-core/packagegroups | |
| parent | f1df3f828bfc9e70bf8cf5a7c2e2cf216944785a (diff) | |
| download | poky-272cb74d70686cb7f72005dc25e02f38b46ecd57.tar.gz | |
Rename task to packagegroup
"Package group" is a much more appropriate name for these than task,
since we use the word task to describe units of work executed by
BitBake.
(From OE-Core rev: 424dcf7046e4ad09dcc664eb1992201195247fcf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/packagegroups')
14 files changed, 1015 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..ea054bc9c9 --- /dev/null +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2007 OpenedHand Ltd | ||
| 3 | # | ||
| 4 | |||
| 5 | DESCRIPTION = "Host packages for the standalone SDK or external toolchain" | ||
| 6 | PR = "r11" | ||
| 7 | LICENSE = "MIT" | ||
| 8 | ALLOW_EMPTY = "1" | ||
| 9 | |||
| 10 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 11 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 12 | |||
| 13 | inherit nativesdk | ||
| 14 | |||
| 15 | PACKAGES = "${PN}" | ||
| 16 | |||
| 17 | RDEPENDS_${PN} = "\ | ||
| 18 | nativesdk-pkgconfig \ | ||
| 19 | nativesdk-qemu \ | ||
| 20 | nativesdk-qemu-helper \ | ||
| 21 | nativesdk-pseudo \ | ||
| 22 | nativesdk-unfs-server \ | ||
| 23 | nativesdk-opkg \ | ||
| 24 | nativesdk-libtool \ | ||
| 25 | nativesdk-autoconf \ | ||
| 26 | nativesdk-automake \ | ||
| 27 | " | ||
| 28 | |||
| 29 | RDEPENDS_${PN}_darwin8 = "\ | ||
| 30 | odcctools-cross-canadian \ | ||
| 31 | llvm-cross-canadian \ | ||
| 32 | nativesdk-pkgconfig \ | ||
| 33 | nativesdk-opkg \ | ||
| 34 | nativesdk-libtool \ | ||
| 35 | " | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb new file mode 100644 index 0000000000..ea894b2e2b --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb | |||
| @@ -0,0 +1,359 @@ | |||
| 1 | DESCRIPTION = "Merge machine and distro options to create a basic machine task/package" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 5 | PR = "r75" | ||
| 6 | |||
| 7 | inherit packagegroup | ||
| 8 | |||
| 9 | PROVIDES = "${PACKAGES}" | ||
| 10 | PACKAGES = ' \ | ||
| 11 | packagegroup-base \ | ||
| 12 | packagegroup-base-extended \ | ||
| 13 | packagegroup-distro-base \ | ||
| 14 | packagegroup-machine-base \ | ||
| 15 | \ | ||
| 16 | ${@base_contains("MACHINE_FEATURES", "acpi", "packagegroup-base-acpi", "",d)} \ | ||
| 17 | ${@base_contains("MACHINE_FEATURES", "alsa", "packagegroup-base-alsa", "", d)} \ | ||
| 18 | ${@base_contains("MACHINE_FEATURES", "apm", "packagegroup-base-apm", "", d)} \ | ||
| 19 | ${@base_contains("MACHINE_FEATURES", "ext2", "packagegroup-base-ext2", "", d)} \ | ||
| 20 | ${@base_contains("MACHINE_FEATURES", "vfat", "packagegroup-base-vfat", "", d)} \ | ||
| 21 | ${@base_contains("MACHINE_FEATURES", "irda", "packagegroup-base-irda", "",d)} \ | ||
| 22 | ${@base_contains("MACHINE_FEATURES", "keyboard", "packagegroup-base-keyboard", "", d)} \ | ||
| 23 | ${@base_contains("MACHINE_FEATURES", "pci", "packagegroup-base-pci", "",d)} \ | ||
| 24 | ${@base_contains("MACHINE_FEATURES", "pcmcia", "packagegroup-base-pcmcia", "", d)} \ | ||
| 25 | ${@base_contains("MACHINE_FEATURES", "phone", "packagegroup-base-phone", "", d)} \ | ||
| 26 | ${@base_contains("MACHINE_FEATURES", "screen", "packagegroup-base-screen", "", d)} \ | ||
| 27 | ${@base_contains("MACHINE_FEATURES", "serial", "packagegroup-base-serial", "", d)} \ | ||
| 28 | ${@base_contains("MACHINE_FEATURES", "touchscreen", "packagegroup-base-touchscreen", "", d)} \ | ||
| 29 | ${@base_contains("MACHINE_FEATURES", "usbgadget", "packagegroup-base-usbgadget", "", d)} \ | ||
| 30 | ${@base_contains("MACHINE_FEATURES", "usbhost", "packagegroup-base-usbhost", "", d)} \ | ||
| 31 | \ | ||
| 32 | ${@base_contains("MACHINE_FEATURES", "uboot", "packagegroup-base-uboot", "",d)} \ | ||
| 33 | ${@base_contains("MACHINE_FEATURES", "redboot", "packagegroup-base-redboot", "",d)} \ | ||
| 34 | ${@base_contains("MACHINE_FEATURES", "apex", "packagegroup-base-apex", "",d)} \ | ||
| 35 | \ | ||
| 36 | ${@base_contains("DISTRO_FEATURES", "bluetooth", "packagegroup-base-bluetooth", "", d)} \ | ||
| 37 | ${@base_contains("DISTRO_FEATURES", "wifi", "packagegroup-base-wifi", "", d)} \ | ||
| 38 | ${@base_contains("DISTRO_FEATURES", "3g", "packagegroup-base-3g", "", d)} \ | ||
| 39 | ${@base_contains("DISTRO_FEATURES", "cramfs", "packagegroup-base-cramfs", "", d)} \ | ||
| 40 | ${@base_contains("DISTRO_FEATURES", "ipsec", "packagegroup-base-ipsec", "", d)} \ | ||
| 41 | ${@base_contains("DISTRO_FEATURES", "ipv6", "packagegroup-base-ipv6", "", d)} \ | ||
| 42 | ${@base_contains("DISTRO_FEATURES", "nfs", "packagegroup-base-nfs", "", d)} \ | ||
| 43 | ${@base_contains("DISTRO_FEATURES", "ppp", "packagegroup-base-ppp", "", d)} \ | ||
| 44 | ${@base_contains("DISTRO_FEATURES", "smbfs", "packagegroup-base-smbfs", "", d)} \ | ||
| 45 | ${@base_contains("DISTRO_FEATURES", "raid", "packagegroup-base-raid", "",d)} \ | ||
| 46 | ${@base_contains("DISTRO_FEATURES", "zeroconf", "packagegroup-base-zeroconf", "", d)} \ | ||
| 47 | \ | ||
| 48 | ' | ||
| 49 | |||
| 50 | ALLOW_EMPTY = "1" | ||
| 51 | |||
| 52 | # | ||
| 53 | # packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH | ||
| 54 | # | ||
| 55 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 56 | |||
| 57 | # | ||
| 58 | # those ones can be set in machine config to supply packages needed to get machine booting | ||
| 59 | # | ||
| 60 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | ||
| 61 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | ||
| 62 | |||
| 63 | # | ||
| 64 | # packagegroup-base contain stuff needed for base system (machine related) | ||
| 65 | # | ||
| 66 | RDEPENDS_packagegroup-base = "\ | ||
| 67 | packagegroup-distro-base \ | ||
| 68 | packagegroup-machine-base \ | ||
| 69 | \ | ||
| 70 | sysfsutils \ | ||
| 71 | module-init-tools \ | ||
| 72 | ${@base_contains('MACHINE_FEATURES', 'apm', 'packagegroup-base-apm', '',d)} \ | ||
| 73 | ${@base_contains('MACHINE_FEATURES', 'acpi', 'packagegroup-base-acpi', '',d)} \ | ||
| 74 | ${@base_contains('MACHINE_FEATURES', 'keyboard', 'packagegroup-base-keyboard', '',d)} \ | ||
| 75 | ${@base_contains('MACHINE_FEATURES', 'phone', 'packagegroup-base-phone', '',d)} \ | ||
| 76 | \ | ||
| 77 | ${@base_contains('COMBINED_FEATURES', 'alsa', 'packagegroup-base-alsa', '',d)} \ | ||
| 78 | ${@base_contains('COMBINED_FEATURES', 'ext2', 'packagegroup-base-ext2', '',d)} \ | ||
| 79 | ${@base_contains('COMBINED_FEATURES', 'vfat', 'packagegroup-base-vfat', '',d)} \ | ||
| 80 | ${@base_contains('COMBINED_FEATURES', 'irda', 'packagegroup-base-irda', '',d)} \ | ||
| 81 | ${@base_contains('COMBINED_FEATURES', 'pci', 'packagegroup-base-pci', '',d)} \ | ||
| 82 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'packagegroup-base-pcmcia', '',d)} \ | ||
| 83 | ${@base_contains('COMBINED_FEATURES', 'usbgadget', 'packagegroup-base-usbgadget', '',d)} \ | ||
| 84 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'packagegroup-base-usbhost', '',d)} \ | ||
| 85 | ${@base_contains('COMBINED_FEATURES', 'bluetooth', 'packagegroup-base-bluetooth', '',d)} \ | ||
| 86 | ${@base_contains('COMBINED_FEATURES', 'wifi', 'packagegroup-base-wifi', '',d)} \ | ||
| 87 | ${@base_contains('COMBINED_FEATURES', '3g', 'packagegroup-base-3g', '',d)} \ | ||
| 88 | ${@base_contains('COMBINED_FEATURES', 'uboot', 'packagegroup-base-uboot', '',d)} \ | ||
| 89 | ${@base_contains('COMBINED_FEATURES', 'redboot', 'packagegroup-base-redboot', '',d)} \ | ||
| 90 | ${@base_contains('COMBINED_FEATURES', 'apex', 'packagegroup-base-apex', '',d)} \ | ||
| 91 | \ | ||
| 92 | ${@base_contains('DISTRO_FEATURES', 'nfs', 'packagegroup-base-nfs', '',d)} \ | ||
| 93 | ${@base_contains('DISTRO_FEATURES', 'cramfs', 'packagegroup-base-cramfs', '',d)} \ | ||
| 94 | ${@base_contains('DISTRO_FEATURES', 'smbfs', 'packagegroup-base-smbfs', '',d)} \ | ||
| 95 | ${@base_contains('DISTRO_FEATURES', 'ipv6', 'packagegroup-base-ipv6', '',d)} \ | ||
| 96 | ${@base_contains('DISTRO_FEATURES', 'ipsec', 'packagegroup-base-ipsec', '',d)} \ | ||
| 97 | ${@base_contains('DISTRO_FEATURES', 'ppp', 'packagegroup-base-ppp', '',d)} \ | ||
| 98 | ${@base_contains('DISTRO_FEATURES', 'raid', 'packagegroup-base-raid', '',d)} \ | ||
| 99 | ${@base_contains('DISTRO_FEATURES', 'zeroconf', 'packagegroup-base-zeroconf', '',d)} \ | ||
| 100 | " | ||
| 101 | |||
| 102 | |||
| 103 | RRECOMMENDS_packagegroup-base = "\ | ||
| 104 | kernel-module-nls-utf8 \ | ||
| 105 | kernel-module-input \ | ||
| 106 | kernel-module-uinput \ | ||
| 107 | kernel-module-rtc-dev \ | ||
| 108 | kernel-module-rtc-proc \ | ||
| 109 | kernel-module-rtc-sysfs \ | ||
| 110 | kernel-module-unix" | ||
| 111 | |||
| 112 | RDEPENDS_packagegroup-base-extended = "\ | ||
| 113 | packagegroup-base \ | ||
| 114 | ${ADD_WIFI} \ | ||
| 115 | ${ADD_BT} \ | ||
| 116 | ${ADD_3G} \ | ||
| 117 | " | ||
| 118 | |||
| 119 | ADD_WIFI = "" | ||
| 120 | ADD_BT = "" | ||
| 121 | ADD_3G = "" | ||
| 122 | |||
| 123 | python __anonymous () { | ||
| 124 | # If Distro want wifi and machine feature wifi/pci/pcmcia/usbhost (one of them) | ||
| 125 | # then include packagegroup-base-wifi in packagegroup-base | ||
| 126 | |||
| 127 | distro_features = set(d.getVar("DISTRO_FEATURES", True).split()) | ||
| 128 | machine_features= set(d.getVar("MACHINE_FEATURES", True).split()) | ||
| 129 | |||
| 130 | 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): | ||
| 131 | d.setVar("ADD_BT", "packagegroup-base-bluetooth") | ||
| 132 | |||
| 133 | 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): | ||
| 134 | d.setVar("ADD_WIFI", "packagegroup-base-wifi") | ||
| 135 | |||
| 136 | 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): | ||
| 137 | d.setVar("ADD_3G", "packagegroup-base-3g") | ||
| 138 | } | ||
| 139 | |||
| 140 | # | ||
| 141 | # packages added by distribution | ||
| 142 | # | ||
| 143 | DEPENDS_packagegroup-distro-base = "${DISTRO_EXTRA_DEPENDS}" | ||
| 144 | RDEPENDS_packagegroup-distro-base = "${DISTRO_EXTRA_RDEPENDS}" | ||
| 145 | RRECOMMENDS_packagegroup-distro-base = "${DISTRO_EXTRA_RRECOMMENDS}" | ||
| 146 | |||
| 147 | # | ||
| 148 | # packages added by machine config | ||
| 149 | # | ||
| 150 | RDEPENDS_packagegroup-machine-base = "${MACHINE_EXTRA_RDEPENDS}" | ||
| 151 | RRECOMMENDS_packagegroup-machine-base = "${MACHINE_EXTRA_RRECOMMENDS}" | ||
| 152 | |||
| 153 | RDEPENDS_packagegroup-base-keyboard = "\ | ||
| 154 | keymaps" | ||
| 155 | |||
| 156 | RDEPENDS_packagegroup-base-pci = "\ | ||
| 157 | pciutils" | ||
| 158 | |||
| 159 | RDEPENDS_packagegroup-base-acpi = "\ | ||
| 160 | acpid \ | ||
| 161 | libacpi " | ||
| 162 | |||
| 163 | RDEPENDS_packagegroup-base-apm = "\ | ||
| 164 | ${VIRTUAL-RUNTIME_apm} \ | ||
| 165 | apmd" | ||
| 166 | |||
| 167 | RDEPENDS_packagegroup-base-ext2 = "\ | ||
| 168 | hdparm \ | ||
| 169 | e2fsprogs \ | ||
| 170 | e2fsprogs-e2fsck \ | ||
| 171 | e2fsprogs-mke2fs" | ||
| 172 | |||
| 173 | RRECOMMENDS_packagegroup-base-vfat = "\ | ||
| 174 | kernel-module-msdos \ | ||
| 175 | kernel-module-vfat \ | ||
| 176 | kernel-module-nls-iso8859-1 \ | ||
| 177 | kernel-module-nls-cp437" | ||
| 178 | |||
| 179 | RDEPENDS_packagegroup-base-alsa = "\ | ||
| 180 | alsa-utils-alsactl \ | ||
| 181 | alsa-utils-alsamixer \ | ||
| 182 | ${VIRTUAL-RUNTIME_alsa-state}" | ||
| 183 | |||
| 184 | RRECOMMENDS_packagegroup-base-alsa = "\ | ||
| 185 | kernel-module-snd-mixer-oss \ | ||
| 186 | kernel-module-snd-pcm-oss" | ||
| 187 | |||
| 188 | RDEPENDS_packagegroup-base-pcmcia = "\ | ||
| 189 | pcmciautils \ | ||
| 190 | " | ||
| 191 | #${@base_contains('DISTRO_FEATURES', 'wifi', 'prism-firmware', '',d)} | ||
| 192 | #${@base_contains('DISTRO_FEATURES', 'wifi', 'spectrum-fw', '',d)} | ||
| 193 | |||
| 194 | |||
| 195 | RRECOMMENDS_packagegroup-base-pcmcia = "\ | ||
| 196 | kernel-module-pcmcia \ | ||
| 197 | kernel-module-airo-cs \ | ||
| 198 | kernel-module-pcnet-cs \ | ||
| 199 | kernel-module-serial-cs \ | ||
| 200 | kernel-module-ide-cs \ | ||
| 201 | kernel-module-ide-disk \ | ||
| 202 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'kernel-module-hostap-cs', '',d)} \ | ||
| 203 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'kernel-module-orinoco-cs', '',d)} \ | ||
| 204 | ${@base_contains('DISTRO_FEATURES', 'wifi', 'kernel-module-spectrum-cs', '',d)}" | ||
| 205 | |||
| 206 | # Provide bluez-utils-compat utils for the time being, the binaries in that package will vanish soon from upstream releases, so beware! | ||
| 207 | |||
| 208 | RDEPENDS_packagegroup-base-bluetooth = "\ | ||
| 209 | bluez4 \ | ||
| 210 | ${@base_contains('COMBINED_FEATURES', 'alsa', 'libasound-module-bluez', '',d)} \ | ||
| 211 | " | ||
| 212 | |||
| 213 | RRECOMMENDS_packagegroup-base-bluetooth = "\ | ||
| 214 | kernel-module-bluetooth \ | ||
| 215 | kernel-module-l2cap \ | ||
| 216 | kernel-module-rfcomm \ | ||
| 217 | kernel-module-hci-vhci \ | ||
| 218 | kernel-module-bnep \ | ||
| 219 | kernel-module-hidp \ | ||
| 220 | kernel-module-hci-uart \ | ||
| 221 | kernel-module-sco \ | ||
| 222 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-hci-usb', '',d)} \ | ||
| 223 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluetooth3c-cs', '',d)} \ | ||
| 224 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluecard-cs', '',d)} \ | ||
| 225 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-bluetoothuart-cs', '',d)} \ | ||
| 226 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-dtl1-cs', '',d)} \ | ||
| 227 | " | ||
| 228 | |||
| 229 | RDEPENDS_packagegroup-base-irda = "\ | ||
| 230 | irda-utils" | ||
| 231 | |||
| 232 | RRECOMMENDS_packagegroup-base-irda = "\ | ||
| 233 | kernel-module-pxaficp-ir \ | ||
| 234 | kernel-module-irda \ | ||
| 235 | kernel-module-ircomm \ | ||
| 236 | kernel-module-ircomm-tty \ | ||
| 237 | kernel-module-irlan \ | ||
| 238 | ${@base_contains('DISTRO_FEATURES', 'ppp', 'kernel-module-irnet', '',d)} \ | ||
| 239 | kernel-module-irport \ | ||
| 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)} " | ||
| 244 | |||
| 245 | RRECOMMENDS_packagegroup-base-usbgadget = "\ | ||
| 246 | kernel-module-pxa27x_udc \ | ||
| 247 | kernel-module-gadgetfs \ | ||
| 248 | kernel-module-g-file-storage \ | ||
| 249 | kernel-module-g-serial \ | ||
| 250 | kernel-module-g-ether" | ||
| 251 | |||
| 252 | RDEPENDS_packagegroup-base-usbhost = "\ | ||
| 253 | usbutils " | ||
| 254 | |||
| 255 | RRECOMMENDS_packagegroup-base-usbhost = "\ | ||
| 256 | kernel-module-uhci-hcd \ | ||
| 257 | kernel-module-ohci-hcd \ | ||
| 258 | kernel-module-ehci-hcd \ | ||
| 259 | kernel-module-usbcore \ | ||
| 260 | kernel-module-usbhid \ | ||
| 261 | kernel-module-usbnet \ | ||
| 262 | kernel-module-sd-mod \ | ||
| 263 | kernel-module-scsi-mod \ | ||
| 264 | kernel-module-usbmouse \ | ||
| 265 | kernel-module-mousedev \ | ||
| 266 | kernel-module-usbserial \ | ||
| 267 | kernel-module-usb-storage " | ||
| 268 | |||
| 269 | RDEPENDS_packagegroup-base-ppp = "\ | ||
| 270 | ppp \ | ||
| 271 | ppp-dialin" | ||
| 272 | |||
| 273 | RRECOMMENDS_packagegroup-base-ppp = "\ | ||
| 274 | kernel-module-ppp-async \ | ||
| 275 | kernel-module-ppp-deflate \ | ||
| 276 | kernel-module-ppp-generic \ | ||
| 277 | kernel-module-ppp-mppe \ | ||
| 278 | kernel-module-slhc" | ||
| 279 | |||
| 280 | RDEPENDS_packagegroup-base-ipsec = "\ | ||
| 281 | openswan" | ||
| 282 | |||
| 283 | RRECOMMENDS_packagegroup-base-ipsec = "\ | ||
| 284 | kernel-module-ipsec" | ||
| 285 | |||
| 286 | # | ||
| 287 | # packagegroup-base-wifi contain everything needed to get WiFi working | ||
| 288 | # WEP/WPA connection needs to be supported out-of-box | ||
| 289 | # | ||
| 290 | RDEPENDS_packagegroup-base-wifi = "\ | ||
| 291 | wireless-tools \ | ||
| 292 | ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'hostap-utils', '',d)} \ | ||
| 293 | ${@base_contains('COMBINED_FEATURES', 'pci', 'hostap-utils', '',d)} \ | ||
| 294 | wpa-supplicant" | ||
| 295 | |||
| 296 | RRECOMMENDS_packagegroup-base-wifi = "\ | ||
| 297 | ${@base_contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \ | ||
| 298 | kernel-module-ieee80211-crypt \ | ||
| 299 | kernel-module-ieee80211-crypt-ccmp \ | ||
| 300 | kernel-module-ieee80211-crypt-tkip \ | ||
| 301 | kernel-module-ieee80211-crypt-wep \ | ||
| 302 | kernel-module-ecb \ | ||
| 303 | kernel-module-arc4 \ | ||
| 304 | kernel-module-crypto_algapi \ | ||
| 305 | kernel-module-cryptomgr \ | ||
| 306 | kernel-module-michael-mic \ | ||
| 307 | kernel-module-aes-generic \ | ||
| 308 | kernel-module-aes" | ||
| 309 | |||
| 310 | RDEPENDS_packagegroup-base-3g = "\ | ||
| 311 | ofono" | ||
| 312 | |||
| 313 | RRECOMMENDS_packagegroup-base-3g = "\ | ||
| 314 | kernel-module-cdc-acm \ | ||
| 315 | kernel-module-cdc-wdm" | ||
| 316 | |||
| 317 | RRECOMMENDS_packagegroup-base-smbfs = "\ | ||
| 318 | kernel-module-cifs \ | ||
| 319 | kernel-module-smbfs" | ||
| 320 | |||
| 321 | RRECOMMENDS_packagegroup-base-cramfs = "\ | ||
| 322 | kernel-module-cramfs" | ||
| 323 | |||
| 324 | # | ||
| 325 | # packagegroup-base-nfs provides ONLY client support - server is in nfs-utils package | ||
| 326 | # | ||
| 327 | RDEPENDS_packagegroup-base-nfs = "\ | ||
| 328 | portmap" | ||
| 329 | |||
| 330 | RRECOMMENDS_packagegroup-base-nfs = "\ | ||
| 331 | kernel-module-nfs " | ||
| 332 | |||
| 333 | RDEPENDS_packagegroup-base-zeroconf = "\ | ||
| 334 | avahi-daemon" | ||
| 335 | |||
| 336 | RDEPENDS_packagegroup-base-raid = "\ | ||
| 337 | " | ||
| 338 | |||
| 339 | RDEPENDS_packagegroup-base-screen = "\ | ||
| 340 | " | ||
| 341 | |||
| 342 | # | ||
| 343 | # GPE/OPIE/OpenMoko provide own touchscreen calibration utils | ||
| 344 | # | ||
| 345 | RDEPENDS_packagegroup-base-touchscreen = "\ | ||
| 346 | " | ||
| 347 | |||
| 348 | RDEPENDS_packagegroup-base-ipv6 = "\ | ||
| 349 | " | ||
| 350 | |||
| 351 | RRECOMMENDS_packagegroup-base-ipv6 = "\ | ||
| 352 | kernel-module-ipv6 " | ||
| 353 | |||
| 354 | RDEPENDS_packagegroup-base-serial = "\ | ||
| 355 | setserial \ | ||
| 356 | lrzsz " | ||
| 357 | |||
| 358 | RDEPENDS_packagegroup-base-phone = "\ | ||
| 359 | 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..7e80fffe4a --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2007 OpenedHand Ltd. | ||
| 3 | # | ||
| 4 | |||
| 5 | DESCRIPTION = "Task for OpenedHand Poky - minimal bootable image" | ||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 10 | DEPENDS = "virtual/kernel" | ||
| 11 | ALLOW_EMPTY = "1" | ||
| 12 | PR = "r9" | ||
| 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 | # Distro can override the following VIRTUAL-RUNTIME providers: | ||
| 21 | VIRTUAL-RUNTIME_dev_manager ?= "udev" | ||
| 22 | VIRTUAL-RUNTIME_login_manager ?= "tinylogin" | ||
| 23 | VIRTUAL-RUNTIME_init_manager ?= "sysvinit" | ||
| 24 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | ||
| 25 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" | ||
| 26 | |||
| 27 | PACKAGES = "\ | ||
| 28 | packagegroup-core-boot \ | ||
| 29 | packagegroup-core-boot-dbg \ | ||
| 30 | packagegroup-core-boot-dev \ | ||
| 31 | " | ||
| 32 | |||
| 33 | RDEPENDS_packagegroup-core-boot = "\ | ||
| 34 | base-files \ | ||
| 35 | base-passwd \ | ||
| 36 | busybox \ | ||
| 37 | ${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \ | ||
| 38 | ${VIRTUAL-RUNTIME_initscripts} \ | ||
| 39 | ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ | ||
| 40 | modutils-initscripts \ | ||
| 41 | netbase \ | ||
| 42 | ${VIRTUAL-RUNTIME_login_manager} \ | ||
| 43 | ${VIRTUAL-RUNTIME_init_manager} \ | ||
| 44 | ${VIRTUAL-RUNTIME_dev_manager} \ | ||
| 45 | ${VIRTUAL-RUNTIME_update-alternatives} \ | ||
| 46 | ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" | ||
| 47 | |||
| 48 | RRECOMMENDS_packagegroup-core-boot = "\ | ||
| 49 | ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-console.bb b/meta/recipes-core/packagegroups/packagegroup-core-console.bb new file mode 100644 index 0000000000..fd8eb252db --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-console.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2011 Intel Corporation | ||
| 3 | # | ||
| 4 | |||
| 5 | DESCRIPTION = "Tasks for core console applications" | ||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 9 | PR = "r35" | ||
| 10 | |||
| 11 | PACKAGES = "\ | ||
| 12 | packagegroup-core-apps-console \ | ||
| 13 | packagegroup-core-apps-console-dbg \ | ||
| 14 | packagegroup-core-apps-console-dev \ | ||
| 15 | " | ||
| 16 | |||
| 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 18 | |||
| 19 | ALLOW_EMPTY = "1" | ||
| 20 | |||
| 21 | SPLASH ?= "psplash" | ||
| 22 | |||
| 23 | RDEPENDS_packagegroup-core-apps-console = "\ | ||
| 24 | avahi-daemon \ | ||
| 25 | dbus \ | ||
| 26 | portmap \ | ||
| 27 | ${SPLASH}" | ||
| 28 | |||
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..e63753b3e2 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2008 OpenedHand Ltd. | ||
| 3 | # | ||
| 4 | |||
| 5 | DESCRIPTION = "NFS tasks for Poky" | ||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 9 | PR = "r1" | ||
| 10 | |||
| 11 | PACKAGES = "\ | ||
| 12 | packagegroup-core-nfs-server \ | ||
| 13 | packagegroup-core-nfs-server-dbg \ | ||
| 14 | packagegroup-core-nfs-server-dev \ | ||
| 15 | " | ||
| 16 | |||
| 17 | ALLOW_EMPTY = "1" | ||
| 18 | |||
| 19 | RDEPENDS_packagegroup-core-nfs-server = "\ | ||
| 20 | nfs-utils \ | ||
| 21 | nfs-utils-client \ | ||
| 22 | " | ||
| 23 | |||
| 24 | # rpcinfo can be useful but only with glibc images | ||
| 25 | GLIBC_DEPENDENCIES = "glibc-utils" | ||
| 26 | |||
| 27 | RRECOMMENDS_packagegroup-core-nfs-server_append_libc-glibc = " ${GLIBC_DEPENDENCIES}" | ||
| 28 | |||
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..663f7057de --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2007 OpenedHand Ltd. | ||
| 3 | # | ||
| 4 | |||
| 5 | DESCRIPTION = "Software Development Tasks for OpenedHand Poky" | ||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 9 | DEPENDS = "packagegroup-core-console" | ||
| 10 | PR = "r8" | ||
| 11 | |||
| 12 | ALLOW_EMPTY = "1" | ||
| 13 | #PACKAGEFUNCS =+ 'generate_sdk_pkgs' | ||
| 14 | |||
| 15 | PACKAGES = "\ | ||
| 16 | packagegroup-core-sdk \ | ||
| 17 | packagegroup-core-sdk-dbg \ | ||
| 18 | packagegroup-core-sdk-dev" | ||
| 19 | |||
| 20 | RDEPENDS_packagegroup-core-sdk = "\ | ||
| 21 | autoconf \ | ||
| 22 | automake \ | ||
| 23 | binutils \ | ||
| 24 | binutils-symlinks \ | ||
| 25 | coreutils \ | ||
| 26 | cpp \ | ||
| 27 | cpp-symlinks \ | ||
| 28 | ccache \ | ||
| 29 | diffutils \ | ||
| 30 | gcc \ | ||
| 31 | gcc-symlinks \ | ||
| 32 | g++ \ | ||
| 33 | g++-symlinks \ | ||
| 34 | gettext \ | ||
| 35 | make \ | ||
| 36 | intltool \ | ||
| 37 | libstdc++ \ | ||
| 38 | libstdc++-dev \ | ||
| 39 | libtool \ | ||
| 40 | perl-module-re \ | ||
| 41 | perl-module-text-wrap \ | ||
| 42 | pkgconfig \ | ||
| 43 | findutils \ | ||
| 44 | quilt \ | ||
| 45 | less \ | ||
| 46 | distcc \ | ||
| 47 | ldd \ | ||
| 48 | file \ | ||
| 49 | tcl" | ||
| 50 | |||
| 51 | RRECOMMENDS_packagegroup-core-sdk = "\ | ||
| 52 | libgomp \ | ||
| 53 | libgomp-dev" | ||
| 54 | |||
| 55 | #python generate_sdk_pkgs () { | ||
| 56 | # poky_pkgs = read_pkgdata('packagegroup-core', d)['PACKAGES'] | ||
| 57 | # pkgs = d.getVar('PACKAGES', True).split() | ||
| 58 | # for pkg in poky_pkgs.split(): | ||
| 59 | # newpkg = pkg.replace('packagegroup-core', 'packagegroup-core-sdk') | ||
| 60 | # | ||
| 61 | # # for each of the task packages, add a corresponding sdk task | ||
| 62 | # pkgs.append(newpkg) | ||
| 63 | # | ||
| 64 | # # for each sdk task, take the rdepends of the non-sdk task, and turn | ||
| 65 | # # that into rrecommends upon the -dev versions of those, not unlike | ||
| 66 | # # the package depchain code | ||
| 67 | # spkgdata = read_subpkgdata(pkg, d) | ||
| 68 | # | ||
| 69 | # rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '') | ||
| 70 | # rreclist = [] | ||
| 71 | # | ||
| 72 | # for depend in rdepends: | ||
| 73 | # split_depend = depend.split(' (') | ||
| 74 | # name = split_depend[0].strip() | ||
| 75 | # if packaged('%s-dev' % name, d): | ||
| 76 | # rreclist.append('%s-dev' % name) | ||
| 77 | # else: | ||
| 78 | # deppkgdata = read_subpkgdata(name, d) | ||
| 79 | # rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '') | ||
| 80 | # for depend in rdepends2: | ||
| 81 | # split_depend = depend.split(' (') | ||
| 82 | # name = split_depend[0].strip() | ||
| 83 | # if packaged('%s-dev' % name, d): | ||
| 84 | # rreclist.append('%s-dev' % name) | ||
| 85 | # | ||
| 86 | # oldrrec = d.getVar('RRECOMMENDS_%s' % newpkg) or '' | ||
| 87 | # d.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist)) | ||
| 88 | # # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, d.getVar('RRECOMMENDS_%s' % newpkg))) | ||
| 89 | # | ||
| 90 | # # bb.note('pkgs is %s' % pkgs) | ||
| 91 | # d.setVar('PACKAGES', ' '.join(pkgs)) | ||
| 92 | #} | ||
| 93 | # | ||
| 94 | #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..9dcc342dc4 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | DESCRIPTION = "Dropbear SSH task for Poky" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 5 | PR = "r0" | ||
| 6 | |||
| 7 | PACKAGES = "\ | ||
| 8 | packagegroup-core-ssh-dropbear \ | ||
| 9 | packagegroup-core-ssh-dropbear-dbg \ | ||
| 10 | packagegroup-core-ssh-dropbear-dev \ | ||
| 11 | " | ||
| 12 | |||
| 13 | ALLOW_EMPTY = "1" | ||
| 14 | |||
| 15 | RDEPENDS_packagegroup-core-ssh-dropbear = "dropbear" | ||
| 16 | RDEPENDS_packagegroup-core-ssh-dropbear-dbg = "dropbear-dbg" | ||
| 17 | RDEPENDS_packagegroup-core-ssh-dropbear-dev = "dropbear-dev" | ||
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..7e85b29ad8 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | DESCRIPTION = "OpenSSH SSH task for Poky" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 5 | PR = "r0" | ||
| 6 | |||
| 7 | PACKAGES = "\ | ||
| 8 | packagegroup-core-ssh-openssh \ | ||
| 9 | packagegroup-core-ssh-openssh-dbg \ | ||
| 10 | packagegroup-core-ssh-openssh-dev \ | ||
| 11 | " | ||
| 12 | |||
| 13 | ALLOW_EMPTY = "1" | ||
| 14 | |||
| 15 | RDEPENDS_packagegroup-core-ssh-openssh = "openssh" | ||
| 16 | RDEPENDS_packagegroup-core-ssh-openssh-dbg = "openssh-dbg" | ||
| 17 | RDEPENDS_packagegroup-core-ssh-openssh-dev = "openssh-dev" | ||
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..03628a167d --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | DESCRIPTION = "Target packages for the standalone SDK" | ||
| 2 | PR = "r7" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 6 | ALLOW_EMPTY = "1" | ||
| 7 | |||
| 8 | PACKAGES = "${PN} ${PN}-dbg" | ||
| 9 | |||
| 10 | RDEPENDS_${PN} = "\ | ||
| 11 | libgcc \ | ||
| 12 | libgcc-dev \ | ||
| 13 | libstdc++ \ | ||
| 14 | libstdc++-dev \ | ||
| 15 | ${LIBC_DEPENDENCIES} \ | ||
| 16 | " | ||
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..b7eff21622 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2008 OpenedHand Ltd. | ||
| 3 | # | ||
| 4 | |||
| 5 | DESCRIPTION = "Debug tools tasks for OE-Core" | ||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 9 | |||
| 10 | PACKAGES = "\ | ||
| 11 | ${PN} \ | ||
| 12 | ${PN}-dbg \ | ||
| 13 | ${PN}-dev \ | ||
| 14 | " | ||
| 15 | |||
| 16 | PR = "r1" | ||
| 17 | |||
| 18 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 19 | |||
| 20 | ALLOW_EMPTY = "1" | ||
| 21 | |||
| 22 | MTRACE = "" | ||
| 23 | MTRACE_libc-glibc = "libc-mtrace" | ||
| 24 | |||
| 25 | RDEPENDS_${PN} = "\ | ||
| 26 | gdb \ | ||
| 27 | gdbserver \ | ||
| 28 | tcf-agent \ | ||
| 29 | openssh-sftp-server \ | ||
| 30 | rsync \ | ||
| 31 | strace \ | ||
| 32 | ${MTRACE} \ | ||
| 33 | " | ||
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..30776ef658 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2008 OpenedHand Ltd. | ||
| 3 | # | ||
| 4 | |||
| 5 | DESCRIPTION = "Profile tools tasks for OE-Core" | ||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 9 | |||
| 10 | PACKAGES = "\ | ||
| 11 | ${PN} \ | ||
| 12 | ${PN}-dbg \ | ||
| 13 | ${PN}-dev \ | ||
| 14 | " | ||
| 15 | |||
| 16 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 17 | |||
| 18 | ALLOW_EMPTY = "1" | ||
| 19 | |||
| 20 | RRECOMMENDS_${PN} = "\ | ||
| 21 | perf \ | ||
| 22 | trace-cmd \ | ||
| 23 | kernel-module-oprofile \ | ||
| 24 | blktrace \ | ||
| 25 | sysprof \ | ||
| 26 | " | ||
| 27 | |||
| 28 | PROFILETOOLS = "\ | ||
| 29 | oprofile \ | ||
| 30 | oprofileui-server \ | ||
| 31 | powertop \ | ||
| 32 | latencytop \ | ||
| 33 | lttng-control \ | ||
| 34 | lttng-viewer" | ||
| 35 | |||
| 36 | # systemtap needs elfutils which is not fully buildable on uclibc | ||
| 37 | # hence we exclude it from uclibc based builds | ||
| 38 | SYSTEMTAP = "systemtap" | ||
| 39 | SYSTEMTAP_libc-uclibc = "" | ||
| 40 | SYSTEMTAP_mips = "" | ||
| 41 | |||
| 42 | # lttng-ust uses sched_getcpu() which is not there on uclibc | ||
| 43 | # for some of the architectures it can be patched to call the | ||
| 44 | # syscall directly but for x86_64 __NR_getcpu is a vsyscall | ||
| 45 | # which means we can not use syscall() to call it. So we ignore | ||
| 46 | # it for x86_64/uclibc | ||
| 47 | |||
| 48 | LTTNGUST = "lttng-ust" | ||
| 49 | LTTNGUST_libc-uclibc = "" | ||
| 50 | LTTNGUST_mips = "" | ||
| 51 | |||
| 52 | # valgrind does not work on mips | ||
| 53 | |||
| 54 | VALGRIND = "valgrind" | ||
| 55 | VALGRIND_libc-uclibc = "" | ||
| 56 | VALGRIND_mips = "" | ||
| 57 | VALGRIND_arm = "" | ||
| 58 | |||
| 59 | # exmap-console | ||
| 60 | # exmap-server | ||
| 61 | |||
| 62 | # At present we only build lttng-ust on | ||
| 63 | # qemux86/qemux86-64/qemuppc/qemuarm/emenlow/atom-pc since upstream liburcu | ||
| 64 | # (which is required by lttng-ust) may not build on other platforms, like | ||
| 65 | # MIPS. | ||
| 66 | RDEPENDS_${PN} = "\ | ||
| 67 | ${PROFILETOOLS} \ | ||
| 68 | ${LTTNGUST} \ | ||
| 69 | ${SYSTEMTAP} \ | ||
| 70 | ${VALGRIND} \ | ||
| 71 | " | ||
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..bdd0d058f9 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2008 OpenedHand Ltd. | ||
| 3 | # | ||
| 4 | |||
| 5 | DESCRIPTION = "Test apps task for OE-Core" | ||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 9 | |||
| 10 | PACKAGES = "\ | ||
| 11 | ${PN} \ | ||
| 12 | ${PN}-dbg \ | ||
| 13 | ${PN}-dev \ | ||
| 14 | " | ||
| 15 | |||
| 16 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 17 | |||
| 18 | ALLOW_EMPTY = "1" | ||
| 19 | |||
| 20 | # kexec-tools doesn't work on Mips | ||
| 21 | KEXECTOOLS ?= "kexec" | ||
| 22 | KEXECTOOLS_mips ?= "" | ||
| 23 | KEXECTOOLS_mipsel ?= "" | ||
| 24 | KEXECTOOLS_powerpc ?= "" | ||
| 25 | KEXECTOOLS_e5500-64b ?= "" | ||
| 26 | |||
| 27 | RDEPENDS_${PN} = "\ | ||
| 28 | blktool \ | ||
| 29 | fstests \ | ||
| 30 | tslib-calibrate \ | ||
| 31 | tslib-tests \ | ||
| 32 | lrzsz \ | ||
| 33 | ${KEXECTOOLS} \ | ||
| 34 | alsa-utils-amixer \ | ||
| 35 | alsa-utils-aplay \ | ||
| 36 | owl-video \ | ||
| 37 | gst-meta-video \ | ||
| 38 | gst-meta-audio \ | ||
| 39 | mesa-demos \ | ||
| 40 | x11perf \ | ||
| 41 | xrestop \ | ||
| 42 | xwininfo \ | ||
| 43 | xprop \ | ||
| 44 | xvideo-tests \ | ||
| 45 | clutter-box2d \ | ||
| 46 | ltp \ | ||
| 47 | " | ||
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..6ab4a95846 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | DESCRIPTION = "Host SDK package for cross canadian toolchain" | ||
| 2 | PN = "packagegroup-cross-canadian-${TRANSLATED_TARGET_ARCH}" | ||
| 3 | PR = "r0" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | ALLOW_EMPTY = "1" | ||
| 6 | |||
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 9 | inherit cross-canadian | ||
| 10 | |||
| 11 | PACKAGES = "${PN}" | ||
| 12 | |||
| 13 | RDEPENDS_${PN} = "\ | ||
| 14 | binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \ | ||
| 15 | gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \ | ||
| 16 | gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} \ | ||
| 17 | meta-environment-${TRANSLATED_TARGET_ARCH} \ | ||
| 18 | " | ||
| 19 | |||
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..118ff7d48b --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | |||
| @@ -0,0 +1,202 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2010 Intel Corporation | ||
| 3 | # | ||
| 4 | |||
| 5 | DESCRIPTION = "Create Basic Image Tasks" | ||
| 6 | PR = "r11" | ||
| 7 | LICENSE = "MIT" | ||
| 8 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
| 9 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 10 | |||
| 11 | PACKAGES = "\ | ||
| 12 | packagegroup-self-hosted \ | ||
| 13 | packagegroup-self-hosted-debug \ | ||
| 14 | packagegroup-self-hosted-sdk \ | ||
| 15 | packagegroup-self-hosted-extended \ | ||
| 16 | packagegroup-self-hosted-graphics \ | ||
| 17 | packagegroup-self-hosted-host-tools \ | ||
| 18 | " | ||
| 19 | |||
| 20 | ALLOW_EMPTY = "1" | ||
| 21 | |||
| 22 | RDEPENDS_packagegroup-self-hosted = "\ | ||
| 23 | packagegroup-self-hosted-debug \ | ||
| 24 | packagegroup-self-hosted-sdk \ | ||
| 25 | packagegroup-self-hosted-extended \ | ||
| 26 | packagegroup-self-hosted-graphics \ | ||
| 27 | packagegroup-self-hosted-host-tools \ | ||
| 28 | " | ||
| 29 | |||
| 30 | RDEPENDS_packagegroup-self-hosted-host-tools = "\ | ||
| 31 | connman \ | ||
| 32 | connman-plugin-ethernet \ | ||
| 33 | dhcp-client \ | ||
| 34 | e2fsprogs \ | ||
| 35 | e2fsprogs-e2fsck \ | ||
| 36 | e2fsprogs-mke2fs \ | ||
| 37 | e2fsprogs-tune2fs \ | ||
| 38 | genext2fs \ | ||
| 39 | hdparm \ | ||
| 40 | iptables \ | ||
| 41 | kernel-module-tun \ | ||
| 42 | kernel-module-iptable-raw \ | ||
| 43 | kernel-module-iptable-nat \ | ||
| 44 | kernel-module-iptable-mangle \ | ||
| 45 | kernel-module-iptable-filter \ | ||
| 46 | lsb \ | ||
| 47 | mc \ | ||
| 48 | parted \ | ||
| 49 | pseudo \ | ||
| 50 | screen \ | ||
| 51 | vte \ | ||
| 52 | " | ||
| 53 | |||
| 54 | # eglibc-utils: for rpcgen | ||
| 55 | RDEPENDS_packagegroup-self-hosted-sdk = "\ | ||
| 56 | autoconf \ | ||
| 57 | automake \ | ||
| 58 | binutils \ | ||
| 59 | binutils-symlinks \ | ||
| 60 | ccache \ | ||
| 61 | coreutils \ | ||
| 62 | cpp \ | ||
| 63 | cpp-symlinks \ | ||
| 64 | distcc \ | ||
| 65 | eglibc-utils \ | ||
| 66 | eglibc-gconv-ibm850 \ | ||
| 67 | file \ | ||
| 68 | findutils \ | ||
| 69 | g++ \ | ||
| 70 | g++-symlinks \ | ||
| 71 | gcc \ | ||
| 72 | gcc-symlinks \ | ||
| 73 | intltool \ | ||
| 74 | ldd \ | ||
| 75 | less \ | ||
| 76 | libstdc++ \ | ||
| 77 | libstdc++-dev \ | ||
| 78 | libtool \ | ||
| 79 | make \ | ||
| 80 | mktemp \ | ||
| 81 | perl-module-re \ | ||
| 82 | perl-module-text-wrap \ | ||
| 83 | pkgconfig \ | ||
| 84 | quilt \ | ||
| 85 | sed \ | ||
| 86 | " | ||
| 87 | |||
| 88 | RDEPENDS_packagegroup-self-hosted-debug = " \ | ||
| 89 | gdb \ | ||
| 90 | gdbserver \ | ||
| 91 | rsync \ | ||
| 92 | strace \ | ||
| 93 | tcf-agent" | ||
| 94 | |||
| 95 | |||
| 96 | RDEPENDS_packagegroup-self-hosted-extended = "\ | ||
| 97 | bzip2 \ | ||
| 98 | chkconfig \ | ||
| 99 | chrpath \ | ||
| 100 | cpio \ | ||
| 101 | curl \ | ||
| 102 | diffstat \ | ||
| 103 | diffutils \ | ||
| 104 | elfutils \ | ||
| 105 | expat \ | ||
| 106 | gamin \ | ||
| 107 | gawk \ | ||
| 108 | gdbm \ | ||
| 109 | gettext \ | ||
| 110 | gettext-runtime \ | ||
| 111 | git \ | ||
| 112 | grep \ | ||
| 113 | groff \ | ||
| 114 | gzip \ | ||
| 115 | hicolor-icon-theme \ | ||
| 116 | libaio \ | ||
| 117 | libusb1 \ | ||
| 118 | libxml2 \ | ||
| 119 | lrzsz \ | ||
| 120 | lsof \ | ||
| 121 | lzo \ | ||
| 122 | man \ | ||
| 123 | man-pages \ | ||
| 124 | mdadm \ | ||
| 125 | minicom \ | ||
| 126 | mtools \ | ||
| 127 | ncurses \ | ||
| 128 | neon \ | ||
| 129 | nfs-utils \ | ||
| 130 | nfs-utils-client \ | ||
| 131 | openssl \ | ||
| 132 | opkg \ | ||
| 133 | opkg-utils \ | ||
| 134 | patch \ | ||
| 135 | perl \ | ||
| 136 | perl-dev \ | ||
| 137 | perl-modules \ | ||
| 138 | perl-pod \ | ||
| 139 | ${PTH} \ | ||
| 140 | python \ | ||
| 141 | python-compile \ | ||
| 142 | python-compiler \ | ||
| 143 | python-compression \ | ||
| 144 | python-core \ | ||
| 145 | python-curses \ | ||
| 146 | python-datetime \ | ||
| 147 | python-distutils \ | ||
| 148 | python-elementtree \ | ||
| 149 | python-email \ | ||
| 150 | python-fcntl \ | ||
| 151 | python-logging \ | ||
| 152 | python-misc \ | ||
| 153 | python-multiprocessing \ | ||
| 154 | python-netclient \ | ||
| 155 | python-netserver \ | ||
| 156 | python-pickle \ | ||
| 157 | python-pkgutil \ | ||
| 158 | python-re \ | ||
| 159 | python-rpm \ | ||
| 160 | python-shell \ | ||
| 161 | python-sqlite3 \ | ||
| 162 | python-subprocess \ | ||
| 163 | python-textutils \ | ||
| 164 | python-unixadmin \ | ||
| 165 | python-xmlrpc \ | ||
| 166 | quota \ | ||
| 167 | readline \ | ||
| 168 | rpm \ | ||
| 169 | setserial \ | ||
| 170 | socat \ | ||
| 171 | subversion \ | ||
| 172 | sudo \ | ||
| 173 | sysstat \ | ||
| 174 | tar \ | ||
| 175 | tcl \ | ||
| 176 | texi2html \ | ||
| 177 | texinfo \ | ||
| 178 | unzip \ | ||
| 179 | usbutils \ | ||
| 180 | watchdog \ | ||
| 181 | wget \ | ||
| 182 | which \ | ||
| 183 | xinetd \ | ||
| 184 | zip \ | ||
| 185 | zlib \ | ||
| 186 | " | ||
| 187 | |||
| 188 | |||
| 189 | RDEPENDS_packagegroup-self-hosted-graphics = "\ | ||
| 190 | builder \ | ||
| 191 | libgl \ | ||
| 192 | libgl-dev \ | ||
| 193 | libglu \ | ||
| 194 | libglu-dev \ | ||
| 195 | libsdl \ | ||
| 196 | libsdl-dev \ | ||
| 197 | libx11-dev \ | ||
| 198 | python-pygtk \ | ||
| 199 | gtk-theme-clearlooks \ | ||
| 200 | " | ||
| 201 | PTH = "pth" | ||
| 202 | PTH_libc-uclibc = "" | ||
