summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/packagegroups
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/packagegroups')
-rw-r--r--meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb13
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-base.bb147
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-boot.bb11
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb5
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb2
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-nfs.bb10
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-sdk.bb39
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb4
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb5
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb7
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb52
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb22
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb2
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-go-cross-canadian.bb2
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb21
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-rust-sdk-target.bb14
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-self-hosted.bb40
19 files changed, 222 insertions, 180 deletions
diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
index ae989011f4..c1d3c25060 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -3,13 +3,15 @@
3# 3#
4 4
5SUMMARY = "Host packages for the standalone SDK or external toolchain" 5SUMMARY = "Host packages for the standalone SDK or external toolchain"
6PR = "r12"
7 6
8inherit packagegroup nativesdk 7inherit packagegroup
8inherit_defer nativesdk
9 9
10PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" 10PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
11 11
12RDEPENDS_${PN} = "\ 12# autoconf pulls in nativesdk-perl but perl-module-integer is needed to
13# build some recent linux kernels (5.14+) for arm
14RDEPENDS:${PN} = "\
13 nativesdk-pkgconfig \ 15 nativesdk-pkgconfig \
14 nativesdk-qemu \ 16 nativesdk-qemu \
15 nativesdk-qemu-helper \ 17 nativesdk-qemu-helper \
@@ -23,13 +25,14 @@ RDEPENDS_${PN} = "\
23 nativesdk-makedevs \ 25 nativesdk-makedevs \
24 nativesdk-cmake \ 26 nativesdk-cmake \
25 nativesdk-meson \ 27 nativesdk-meson \
26 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \ 28 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland-tools nativesdk-wayland-dev', '', d)} \
27 nativesdk-sdk-provides-dummy \ 29 nativesdk-sdk-provides-dummy \
28 nativesdk-bison \ 30 nativesdk-bison \
29 nativesdk-flex \ 31 nativesdk-flex \
32 nativesdk-perl-module-integer \
30 " 33 "
31 34
32RDEPENDS_${PN}_darwin = "\ 35RDEPENDS:${PN}:darwin = "\
33 nativesdk-pkgconfig \ 36 nativesdk-pkgconfig \
34 nativesdk-opkg \ 37 nativesdk-opkg \
35 nativesdk-libtool \ 38 nativesdk-libtool \
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
index c882e15266..70a1035003 100644
--- a/meta/recipes-core/packagegroups/packagegroup-base.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
@@ -1,5 +1,4 @@
1SUMMARY = "Merge machine and distro options to create a basic machine task/package" 1SUMMARY = "Merge machine and distro options to create a basic machine task/package"
2PR = "r83"
3 2
4# 3#
5# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH 4# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
@@ -8,7 +7,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
8 7
9inherit packagegroup 8inherit packagegroup
10 9
11PROVIDES = "${PACKAGES}"
12PACKAGES = ' \ 10PACKAGES = ' \
13 packagegroup-base \ 11 packagegroup-base \
14 packagegroup-base-extended \ 12 packagegroup-base-extended \
@@ -17,7 +15,6 @@ PACKAGES = ' \
17 \ 15 \
18 ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "packagegroup-base-acpi", "",d)} \ 16 ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "packagegroup-base-acpi", "",d)} \
19 ${@bb.utils.contains("MACHINE_FEATURES", "alsa", "packagegroup-base-alsa", "", d)} \ 17 ${@bb.utils.contains("MACHINE_FEATURES", "alsa", "packagegroup-base-alsa", "", d)} \
20 ${@bb.utils.contains("MACHINE_FEATURES", "apm", "packagegroup-base-apm", "", d)} \
21 ${@bb.utils.contains("MACHINE_FEATURES", "ext2", "packagegroup-base-ext2", "", d)} \ 18 ${@bb.utils.contains("MACHINE_FEATURES", "ext2", "packagegroup-base-ext2", "", d)} \
22 ${@bb.utils.contains("MACHINE_FEATURES", "vfat", "packagegroup-base-vfat", "", d)} \ 19 ${@bb.utils.contains("MACHINE_FEATURES", "vfat", "packagegroup-base-vfat", "", d)} \
23 ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "packagegroup-base-keyboard", "", d)} \ 20 ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "packagegroup-base-keyboard", "", d)} \
@@ -48,12 +45,11 @@ VIRTUAL-RUNTIME_keymaps ?= "keymaps"
48# 45#
49# packagegroup-base contain stuff needed for base system (machine related) 46# packagegroup-base contain stuff needed for base system (machine related)
50# 47#
51RDEPENDS_packagegroup-base = "\ 48RDEPENDS:packagegroup-base = "\
52 packagegroup-distro-base \ 49 packagegroup-distro-base \
53 packagegroup-machine-base \ 50 packagegroup-machine-base \
54 \ 51 \
55 module-init-tools \ 52 module-init-tools \
56 ${@bb.utils.contains('MACHINE_FEATURES', 'apm', 'packagegroup-base-apm', '',d)} \
57 ${@bb.utils.contains('MACHINE_FEATURES', 'acpi', 'packagegroup-base-acpi', '',d)} \ 53 ${@bb.utils.contains('MACHINE_FEATURES', 'acpi', 'packagegroup-base-acpi', '',d)} \
58 ${@bb.utils.contains('MACHINE_FEATURES', 'keyboard', 'packagegroup-base-keyboard', '',d)} \ 54 ${@bb.utils.contains('MACHINE_FEATURES', 'keyboard', 'packagegroup-base-keyboard', '',d)} \
59 ${@bb.utils.contains('MACHINE_FEATURES', 'phone', 'packagegroup-base-phone', '',d)} \ 55 ${@bb.utils.contains('MACHINE_FEATURES', 'phone', 'packagegroup-base-phone', '',d)} \
@@ -80,7 +76,7 @@ RDEPENDS_packagegroup-base = "\
80 " 76 "
81 77
82 78
83RRECOMMENDS_packagegroup-base = "\ 79RRECOMMENDS:packagegroup-base = "\
84 kernel-module-nls-utf8 \ 80 kernel-module-nls-utf8 \
85 kernel-module-input \ 81 kernel-module-input \
86 kernel-module-uinput \ 82 kernel-module-uinput \
@@ -89,7 +85,7 @@ RRECOMMENDS_packagegroup-base = "\
89 kernel-module-rtc-sysfs \ 85 kernel-module-rtc-sysfs \
90 kernel-module-unix" 86 kernel-module-unix"
91 87
92RDEPENDS_packagegroup-base-extended = "\ 88RDEPENDS:packagegroup-base-extended = "\
93 packagegroup-base \ 89 packagegroup-base \
94 ${ADD_WIFI} \ 90 ${ADD_WIFI} \
95 ${ADD_BT} \ 91 ${ADD_BT} \
@@ -125,69 +121,63 @@ python __anonymous () {
125# 121#
126# packages added by distribution 122# packages added by distribution
127# 123#
128SUMMARY_packagegroup-distro-base = "${DISTRO} extras" 124SUMMARY:packagegroup-distro-base = "${DISTRO} extras"
129DEPENDS_packagegroup-distro-base = "${DISTRO_EXTRA_DEPENDS}" 125DEPENDS_packagegroup-distro-base = "${DISTRO_EXTRA_DEPENDS}"
130RDEPENDS_packagegroup-distro-base = "${DISTRO_EXTRA_RDEPENDS}" 126RDEPENDS:packagegroup-distro-base = "${DISTRO_EXTRA_RDEPENDS}"
131RRECOMMENDS_packagegroup-distro-base = "${DISTRO_EXTRA_RRECOMMENDS}" 127RRECOMMENDS:packagegroup-distro-base = "${DISTRO_EXTRA_RRECOMMENDS}"
132 128
133# 129#
134# packages added by machine config 130# packages added by machine config
135# 131#
136SUMMARY_packagegroup-machine-base = "${MACHINE} extras" 132SUMMARY:packagegroup-machine-base = "Extra packages required to fully support ${MACHINE} hardware"
137SUMMARY_packagegroup-machine-base = "Extra packages required to fully support ${MACHINE} hardware" 133RDEPENDS:packagegroup-machine-base = "${MACHINE_EXTRA_RDEPENDS}"
138RDEPENDS_packagegroup-machine-base = "${MACHINE_EXTRA_RDEPENDS}" 134RRECOMMENDS:packagegroup-machine-base = "${MACHINE_EXTRA_RRECOMMENDS}"
139RRECOMMENDS_packagegroup-machine-base = "${MACHINE_EXTRA_RRECOMMENDS}"
140 135
141SUMMARY_packagegroup-base-keyboard = "Keyboard support" 136SUMMARY:packagegroup-base-keyboard = "Keyboard support"
142RDEPENDS_packagegroup-base-keyboard = "\ 137RDEPENDS:packagegroup-base-keyboard = "\
143 ${VIRTUAL-RUNTIME_keymaps}" 138 ${VIRTUAL-RUNTIME_keymaps}"
144 139
145SUMMARY_packagegroup-base-pci = "PCI bus support" 140SUMMARY:packagegroup-base-pci = "PCI bus support"
146RDEPENDS_packagegroup-base-pci = "\ 141RDEPENDS:packagegroup-base-pci = "\
147 pciutils" 142 pciutils"
148 143
149SUMMARY_packagegroup-base-acpi = "ACPI support" 144SUMMARY:packagegroup-base-acpi = "ACPI support"
150RDEPENDS_packagegroup-base-acpi = "\ 145RDEPENDS:packagegroup-base-acpi = "\
151 acpid" 146 acpid"
152 147
153SUMMARY_packagegroup-base-apm = "APM support" 148SUMMARY:packagegroup-base-ext2 = "ext2 filesystem support"
154RDEPENDS_packagegroup-base-apm = "\ 149RDEPENDS:packagegroup-base-ext2 = "\
155 ${VIRTUAL-RUNTIME_apm} \
156 apmd"
157
158SUMMARY_packagegroup-base-ext2 = "ext2 filesystem support"
159RDEPENDS_packagegroup-base-ext2 = "\
160 e2fsprogs-e2fsck \ 150 e2fsprogs-e2fsck \
161 e2fsprogs-mke2fs" 151 e2fsprogs-mke2fs"
162 152
163RRECOMMENDS_packagegroup-base-ext2 = "\ 153RRECOMMENDS:packagegroup-base-ext2 = "\
164 hdparm \ 154 hdparm \
165 e2fsprogs" 155 e2fsprogs"
166 156
167SUMMARY_packagegroup-base-vfat = "FAT filesystem support" 157SUMMARY:packagegroup-base-vfat = "FAT filesystem support"
168RRECOMMENDS_packagegroup-base-vfat = "\ 158RRECOMMENDS:packagegroup-base-vfat = "\
169 kernel-module-msdos \ 159 kernel-module-msdos \
170 kernel-module-vfat \ 160 kernel-module-vfat \
171 kernel-module-nls-iso8859-1 \ 161 kernel-module-nls-iso8859-1 \
172 kernel-module-nls-cp437 \ 162 kernel-module-nls-cp437 \
173 dosfstools" 163 dosfstools"
174 164
175SUMMARY_packagegroup-base-alsa = "ALSA sound support" 165SUMMARY:packagegroup-base-alsa = "ALSA sound support"
176RDEPENDS_packagegroup-base-alsa = "\ 166RDEPENDS:packagegroup-base-alsa = "\
177 alsa-utils-alsactl \ 167 alsa-utils-alsactl \
178 alsa-utils-amixer \ 168 alsa-utils-amixer \
179 ${VIRTUAL-RUNTIME_alsa-state}" 169 ${VIRTUAL-RUNTIME_alsa-state}"
180 170
181RRECOMMENDS_packagegroup-base-alsa = "\ 171RRECOMMENDS:packagegroup-base-alsa = "\
182 kernel-module-snd-mixer-oss \ 172 kernel-module-snd-mixer-oss \
183 kernel-module-snd-pcm-oss" 173 kernel-module-snd-pcm-oss"
184 174
185SUMMARY_packagegroup-base-pcmcia = "PC card slot support" 175SUMMARY:packagegroup-base-pcmcia = "PC card slot support"
186RDEPENDS_packagegroup-base-pcmcia = "\ 176RDEPENDS:packagegroup-base-pcmcia = "\
187 pcmciautils \ 177 pcmciautils \
188 " 178 "
189 179
190RRECOMMENDS_packagegroup-base-pcmcia = "\ 180RRECOMMENDS:packagegroup-base-pcmcia = "\
191 kernel-module-pcmcia \ 181 kernel-module-pcmcia \
192 kernel-module-airo-cs \ 182 kernel-module-airo-cs \
193 kernel-module-pcnet-cs \ 183 kernel-module-pcnet-cs \
@@ -198,12 +188,12 @@ RRECOMMENDS_packagegroup-base-pcmcia = "\
198 ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'kernel-module-orinoco-cs', '',d)} \ 188 ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'kernel-module-orinoco-cs', '',d)} \
199 ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'kernel-module-spectrum-cs', '',d)}" 189 ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'kernel-module-spectrum-cs', '',d)}"
200 190
201SUMMARY_packagegroup-base-bluetooth = "Bluetooth support" 191SUMMARY:packagegroup-base-bluetooth = "Bluetooth support"
202RDEPENDS_packagegroup-base-bluetooth = "\ 192RDEPENDS:packagegroup-base-bluetooth = "\
203 bluez5 \ 193 bluez5 \
204 " 194 "
205 195
206RRECOMMENDS_packagegroup-base-bluetooth = "\ 196RRECOMMENDS:packagegroup-base-bluetooth = "\
207 kernel-module-bluetooth \ 197 kernel-module-bluetooth \
208 kernel-module-l2cap \ 198 kernel-module-l2cap \
209 kernel-module-rfcomm \ 199 kernel-module-rfcomm \
@@ -219,19 +209,19 @@ RRECOMMENDS_packagegroup-base-bluetooth = "\
219 ${@bb.utils.contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-dtl1-cs', '',d)} \ 209 ${@bb.utils.contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-dtl1-cs', '',d)} \
220 " 210 "
221 211
222SUMMARY_packagegroup-base-usbgadget = "USB gadget support" 212SUMMARY:packagegroup-base-usbgadget = "USB gadget support"
223RRECOMMENDS_packagegroup-base-usbgadget = "\ 213RRECOMMENDS:packagegroup-base-usbgadget = "\
224 kernel-module-pxa27x_udc \ 214 kernel-module-pxa27x_udc \
225 kernel-module-gadgetfs \ 215 kernel-module-gadgetfs \
226 kernel-module-g-file-storage \ 216 kernel-module-g-file-storage \
227 kernel-module-g-serial \ 217 kernel-module-g-serial \
228 kernel-module-g-ether" 218 kernel-module-g-ether"
229 219
230SUMMARY_packagegroup-base-usbhost = "USB host support" 220SUMMARY:packagegroup-base-usbhost = "USB host support"
231RDEPENDS_packagegroup-base-usbhost = "\ 221RDEPENDS:packagegroup-base-usbhost = "\
232 usbutils " 222 usbutils "
233 223
234RRECOMMENDS_packagegroup-base-usbhost = "\ 224RRECOMMENDS:packagegroup-base-usbhost = "\
235 kernel-module-uhci-hcd \ 225 kernel-module-uhci-hcd \
236 kernel-module-ohci-hcd \ 226 kernel-module-ohci-hcd \
237 kernel-module-ehci-hcd \ 227 kernel-module-ehci-hcd \
@@ -245,36 +235,39 @@ RRECOMMENDS_packagegroup-base-usbhost = "\
245 kernel-module-usbserial \ 235 kernel-module-usbserial \
246 kernel-module-usb-storage " 236 kernel-module-usb-storage "
247 237
248SUMMARY_packagegroup-base-ppp = "PPP dial-up protocol support" 238SUMMARY:packagegroup-base-ppp = "PPP dial-up protocol support"
249RDEPENDS_packagegroup-base-ppp = "\ 239RDEPENDS:packagegroup-base-ppp = "\
250 ppp \ 240 ppp \
251 ppp-dialin" 241 ppp-dialin"
252 242
253RRECOMMENDS_packagegroup-base-ppp = "\ 243RRECOMMENDS:packagegroup-base-ppp = "\
254 kernel-module-ppp-async \ 244 kernel-module-ppp-async \
255 kernel-module-ppp-deflate \ 245 kernel-module-ppp-deflate \
256 kernel-module-ppp-generic \ 246 kernel-module-ppp-generic \
257 kernel-module-ppp-mppe \ 247 kernel-module-ppp-mppe \
258 kernel-module-slhc" 248 kernel-module-slhc"
259 249
260SUMMARY_packagegroup-base-ipsec = "IPSEC support" 250SUMMARY:packagegroup-base-ipsec = "IPSEC support"
261RDEPENDS_packagegroup-base-ipsec = "\ 251RDEPENDS:packagegroup-base-ipsec = "\
262 " 252 "
263 253
264RRECOMMENDS_packagegroup-base-ipsec = "\ 254RRECOMMENDS:packagegroup-base-ipsec = "\
265 kernel-module-ipsec" 255 kernel-module-ipsec"
266 256
267# 257#
268# packagegroup-base-wifi contain everything needed to get WiFi working 258# packagegroup-base-wifi contain everything needed to get WiFi working
269# WEP/WPA connection needs to be supported out-of-box 259# WEP/WPA connection needs to be supported out-of-box
270# 260#
271SUMMARY_packagegroup-base-wifi = "WiFi support" 261# Choose either 'wpa-supplicant' or 'iwd' as wireless-daemon
272RDEPENDS_packagegroup-base-wifi = "\ 262WIRELESS_DAEMON ??= "wpa-supplicant"
263SUMMARY:packagegroup-base-wifi = "WiFi support"
264RDEPENDS:packagegroup-base-wifi = "\
273 iw \ 265 iw \
274 wireless-regdb-static \ 266 wireless-regdb-static \
275 wpa-supplicant" 267 ${WIRELESS_DAEMON} \
268"
276 269
277RRECOMMENDS_packagegroup-base-wifi = "\ 270RRECOMMENDS:packagegroup-base-wifi = "\
278 ${@bb.utils.contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \ 271 ${@bb.utils.contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \
279 kernel-module-ieee80211-crypt \ 272 kernel-module-ieee80211-crypt \
280 kernel-module-ieee80211-crypt-ccmp \ 273 kernel-module-ieee80211-crypt-ccmp \
@@ -288,59 +281,59 @@ RRECOMMENDS_packagegroup-base-wifi = "\
288 kernel-module-aes-generic \ 281 kernel-module-aes-generic \
289 kernel-module-aes" 282 kernel-module-aes"
290 283
291SUMMARY_packagegroup-base-nfc = "Near Field Communication support" 284SUMMARY:packagegroup-base-nfc = "Near Field Communication support"
292RDEPENDS_packagegroup-base-nfc = "\ 285RDEPENDS:packagegroup-base-nfc = "\
293 neard" 286 neard"
294 287
295RRECOMMENDS_packagegroup-base-nfc = "\ 288RRECOMMENDS:packagegroup-base-nfc = "\
296 kernel-module-nfc" 289 kernel-module-nfc"
297 290
298SUMMARY_packagegroup-base-3g = "Cellular data support" 291SUMMARY:packagegroup-base-3g = "Cellular data support"
299RDEPENDS_packagegroup-base-3g = "\ 292RDEPENDS:packagegroup-base-3g = "\
300 ofono" 293 ofono"
301 294
302RRECOMMENDS_packagegroup-base-3g = "\ 295RRECOMMENDS:packagegroup-base-3g = "\
303 kernel-module-cdc-acm \ 296 kernel-module-cdc-acm \
304 kernel-module-cdc-wdm" 297 kernel-module-cdc-wdm"
305 298
306SUMMARY_packagegroup-base-smbfs = "SMB network filesystem support" 299SUMMARY:packagegroup-base-smbfs = "SMB network filesystem support"
307RRECOMMENDS_packagegroup-base-smbfs = "\ 300RRECOMMENDS:packagegroup-base-smbfs = "\
308 kernel-module-cifs \ 301 kernel-module-cifs \
309 kernel-module-smbfs" 302 kernel-module-smbfs"
310 303
311SUMMARY_packagegroup-base-cramfs = "cramfs filesystem support" 304SUMMARY:packagegroup-base-cramfs = "cramfs filesystem support"
312RRECOMMENDS_packagegroup-base-cramfs = "\ 305RRECOMMENDS:packagegroup-base-cramfs = "\
313 kernel-module-cramfs" 306 kernel-module-cramfs"
314 307
315# 308#
316# packagegroup-base-nfs provides ONLY client support - server is in nfs-utils package 309# packagegroup-base-nfs provides ONLY client support - server is in nfs-utils package
317# 310#
318SUMMARY_packagegroup-base-nfs = "NFS network filesystem support" 311SUMMARY:packagegroup-base-nfs = "NFS network filesystem support"
319RDEPENDS_packagegroup-base-nfs = "\ 312RDEPENDS:packagegroup-base-nfs = "\
320 rpcbind" 313 rpcbind"
321 314
322RRECOMMENDS_packagegroup-base-nfs = "\ 315RRECOMMENDS:packagegroup-base-nfs = "\
323 kernel-module-nfs " 316 kernel-module-nfs "
324 317
325SUMMARY_packagegroup-base-zeroconf = "Zeroconf support" 318SUMMARY:packagegroup-base-zeroconf = "Zeroconf support"
326RDEPENDS_packagegroup-base-zeroconf = "\ 319RDEPENDS:packagegroup-base-zeroconf = "\
327 avahi-daemon" 320 avahi-daemon"
328RDEPENDS_packagegroup-base-zeroconf_append_libc-glibc = "\ 321RDEPENDS:packagegroup-base-zeroconf:append:libc-glibc = "\
329 libnss-mdns \ 322 libnss-mdns \
330 " 323 "
331 324
332SUMMARY_packagegroup-base-ipv6 = "IPv6 support" 325SUMMARY:packagegroup-base-ipv6 = "IPv6 support"
333RDEPENDS_packagegroup-base-ipv6 = "\ 326RDEPENDS:packagegroup-base-ipv6 = "\
334 " 327 "
335 328
336RRECOMMENDS_packagegroup-base-ipv6 = "\ 329RRECOMMENDS:packagegroup-base-ipv6 = "\
337 kernel-module-ipv6 " 330 kernel-module-ipv6 "
338 331
339SUMMARY_packagegroup-base-serial = "Serial port support" 332SUMMARY:packagegroup-base-serial = "Serial port support"
340RDEPENDS_packagegroup-base-serial = "\ 333RDEPENDS:packagegroup-base-serial = "\
341 setserial \ 334 setserial \
342 lrzsz " 335 lrzsz "
343 336
344SUMMARY_packagegroup-base-phone = "Cellular telephony (voice) support" 337SUMMARY:packagegroup-base-phone = "Cellular telephony (voice) support"
345RDEPENDS_packagegroup-base-phone = "\ 338RDEPENDS:packagegroup-base-phone = "\
346 ofono" 339 ofono"
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
index abbee14bd4..fecc3334ea 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -4,7 +4,6 @@
4 4
5SUMMARY = "Minimal boot requirements" 5SUMMARY = "Minimal boot requirements"
6DESCRIPTION = "The minimal set of packages required to boot the system" 6DESCRIPTION = "The minimal set of packages required to boot the system"
7PR = "r17"
8 7
9PACKAGE_ARCH = "${MACHINE_ARCH}" 8PACKAGE_ARCH = "${MACHINE_ARCH}"
10 9
@@ -18,11 +17,10 @@ EFI_PROVIDER ??= "grub-efi"
18 17
19SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \ 18SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \
20 modutils-initscripts \ 19 modutils-initscripts \
21 init-ifupdown \
22 ${VIRTUAL-RUNTIME_initscripts} \ 20 ${VIRTUAL-RUNTIME_initscripts} \
23 " 21 "
24 22
25RDEPENDS_${PN} = "\ 23RDEPENDS:${PN} = "\
26 base-files \ 24 base-files \
27 base-passwd \ 25 base-passwd \
28 ${VIRTUAL-RUNTIME_base-utils} \ 26 ${VIRTUAL-RUNTIME_base-utils} \
@@ -36,6 +34,9 @@ RDEPENDS_${PN} = "\
36 ${VIRTUAL-RUNTIME_update-alternatives} \ 34 ${VIRTUAL-RUNTIME_update-alternatives} \
37 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" 35 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
38 36
39RRECOMMENDS_${PN} = "\ 37RRECOMMENDS:${PN} = "\
40 ${VIRTUAL-RUNTIME_base-utils-syslog} \ 38 ${VIRTUAL-RUNTIME_base-utils-syslog} \
41 ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" 39 ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \
40 ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "init-ifupdown", "", d)} \
41 ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit pni-names", "ifupdown", "", d)} \
42 "
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb b/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb
index 78cc65db87..2cd67ad05f 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb
@@ -5,9 +5,12 @@
5 5
6SUMMARY = "Essential build dependencies" 6SUMMARY = "Essential build dependencies"
7 7
8# libstdc++ gets debian renamed
9PACKAGE_ARCH = "${TUNE_PKGARCH}"
10
8inherit packagegroup 11inherit packagegroup
9 12
10RDEPENDS_packagegroup-core-buildessential = "\ 13RDEPENDS:packagegroup-core-buildessential = "\
11 autoconf \ 14 autoconf \
12 automake \ 15 automake \
13 binutils \ 16 binutils \
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb
index c45463fc6c..4e91aaf47b 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb
@@ -2,7 +2,7 @@ SUMMARY = "Remote debugging tools for Eclipse integration"
2 2
3inherit packagegroup 3inherit packagegroup
4 4
5RDEPENDS_${PN} = "\ 5RDEPENDS:${PN} = "\
6 gdbserver \ 6 gdbserver \
7 tcf-agent \ 7 tcf-agent \
8 openssh-sftp-server \ 8 openssh-sftp-server \
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb b/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb
index b345e314ad..b8a73175e8 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb
@@ -3,18 +3,16 @@
3# 3#
4 4
5SUMMARY = "NFS package groups" 5SUMMARY = "NFS package groups"
6PR = "r2"
7 6
8inherit packagegroup 7inherit packagegroup
9 8
10PROVIDES = "${PACKAGES}"
11PACKAGES = "${PN}-server ${PN}-client" 9PACKAGES = "${PN}-server ${PN}-client"
12 10
13SUMMARY_${PN}-client = "NFS client" 11SUMMARY:${PN}-client = "NFS client"
14RDEPENDS_${PN}-client = "nfs-utils-client" 12RDEPENDS:${PN}-client = "nfs-utils-client"
15 13
16SUMMARY_${PN}-server = "NFS server" 14SUMMARY:${PN}-server = "NFS server"
17RDEPENDS_${PN}-server = "\ 15RDEPENDS:${PN}-server = "\
18 nfs-utils \ 16 nfs-utils \
19 nfs-utils-client \ 17 nfs-utils-client \
20 " 18 "
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
index 03fa5296c1..84e1a41d9a 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
@@ -3,7 +3,6 @@
3# 3#
4 4
5SUMMARY = "Software development tools" 5SUMMARY = "Software development tools"
6PR = "r9"
7 6
8PACKAGE_ARCH = "${MACHINE_ARCH}" 7PACKAGE_ARCH = "${MACHINE_ARCH}"
9 8
@@ -11,7 +10,12 @@ inherit packagegroup
11 10
12#PACKAGEFUNCS =+ 'generate_sdk_pkgs' 11#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
13 12
14RDEPENDS_packagegroup-core-sdk = "\ 13TARGET_TOOLCHAIN_LANGS ??= "${SDK_TOOLCHAIN_LANGS}"
14TARGET_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust"
15# libstd-rs doesn't build for mips n32 with compiler constraint errors
16TARGET_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust"
17
18RDEPENDS:packagegroup-core-sdk = "\
15 packagegroup-core-buildessential \ 19 packagegroup-core-buildessential \
16 coreutils \ 20 coreutils \
17 ccache \ 21 ccache \
@@ -23,18 +27,21 @@ RDEPENDS_packagegroup-core-sdk = "\
23 less \ 27 less \
24 ldd \ 28 ldd \
25 file \ 29 file \
26 tcl" 30 tcl \
31 ${@bb.utils.contains('TARGET_TOOLCHAIN_LANGS', 'go', 'packagegroup-go-sdk-target', '', d)} \
32 ${@bb.utils.contains('TARGET_TOOLCHAIN_LANGS', 'rust', 'packagegroup-rust-sdk-target', '', d)} \
33"
27 34
28SANITIZERS = "libasan-dev libubsan-dev" 35SANITIZERS = "libasan-dev libubsan-dev"
29SANITIZERS_arc = "" 36SANITIZERS:arc = ""
30SANITIZERS_microblaze = "" 37SANITIZERS:microblaze = ""
31SANITIZERS_mipsarch = "" 38SANITIZERS:mipsarch = ""
32SANITIZERS_nios2 = "" 39SANITIZERS:nios2 = ""
33SANITIZERS_riscv64 = "" 40SANITIZERS:riscv64 = ""
34SANITIZERS_riscv32 = "" 41SANITIZERS:riscv32 = ""
35SANITIZERS_libc-musl = "" 42SANITIZERS:libc-musl = ""
36 43
37RRECOMMENDS_packagegroup-core-sdk = "\ 44RRECOMMENDS:packagegroup-core-sdk = "\
38 libgomp \ 45 libgomp \
39 libgomp-dev \ 46 libgomp-dev \
40 ${SANITIZERS}" 47 ${SANITIZERS}"
@@ -53,7 +60,7 @@ RRECOMMENDS_packagegroup-core-sdk = "\
53# # the package depchain code 60# # the package depchain code
54# spkgdata = read_subpkgdata(pkg, d) 61# spkgdata = read_subpkgdata(pkg, d)
55# 62#
56# rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '') 63# rdepends = explode_deps(spkgdata.get('RDEPENDS:%s' % pkg) or '')
57# rreclist = [] 64# rreclist = []
58# 65#
59# for depend in rdepends: 66# for depend in rdepends:
@@ -63,16 +70,16 @@ RRECOMMENDS_packagegroup-core-sdk = "\
63# rreclist.append('%s-dev' % name) 70# rreclist.append('%s-dev' % name)
64# else: 71# else:
65# deppkgdata = read_subpkgdata(name, d) 72# deppkgdata = read_subpkgdata(name, d)
66# rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '') 73# rdepends2 = explode_deps(deppkgdata.get('RDEPENDS:%s' % name) or '')
67# for depend in rdepends2: 74# for depend in rdepends2:
68# split_depend = depend.split(' (') 75# split_depend = depend.split(' (')
69# name = split_depend[0].strip() 76# name = split_depend[0].strip()
70# if packaged('%s-dev' % name, d): 77# if packaged('%s-dev' % name, d):
71# rreclist.append('%s-dev' % name) 78# rreclist.append('%s-dev' % name)
72# 79#
73# oldrrec = d.getVar('RRECOMMENDS_%s' % newpkg, False) or '' 80# oldrrec = d.getVar('RRECOMMENDS:%s' % newpkg, False) or ''
74# d.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist)) 81# d.setVar('RRECOMMENDS:%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist))
75# # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, d.getVar('RRECOMMENDS_%s' % newpkg, False))) 82# # bb.note('RRECOMMENDS:%s = "%s"' % (newpkg, d.getVar('RRECOMMENDS:%s' % newpkg, False)))
76# 83#
77# # bb.note('pkgs is %s' % pkgs) 84# # bb.note('pkgs is %s' % pkgs)
78# d.setVar('PACKAGES', ' '.join(pkgs)) 85# d.setVar('PACKAGES', ' '.join(pkgs))
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
index 5ec3f6c927..206292ace4 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Dropbear SSH client/server" 1SUMMARY = "Dropbear SSH client/server"
2PR = "r1"
3 2
4inherit packagegroup 3inherit packagegroup
5 4
6RDEPENDS_${PN} = "dropbear" 5RDEPENDS:${PN} = "dropbear"
6RRECOMMENDS:${PN} = "openssh-sftp-server"
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb
index 703f956aea..392403f21b 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb
@@ -1,6 +1,5 @@
1SUMMARY = "OpenSSH SSH client/server" 1SUMMARY = "OpenSSH SSH client/server"
2PR = "r1"
3 2
4inherit packagegroup 3inherit packagegroup
5 4
6RDEPENDS_${PN} = "openssh" 5RDEPENDS:${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
index 2a54f1ca3e..06fdda90c7 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
@@ -1,11 +1,10 @@
1SUMMARY = "Target packages for the standalone SDK" 1SUMMARY = "Target packages for the standalone SDK"
2PR = "r8"
3 2
4PACKAGE_ARCH = "${TUNE_PKGARCH}" 3PACKAGE_ARCH = "${TUNE_PKGARCH}"
5 4
6inherit packagegroup 5inherit packagegroup
7 6
8RDEPENDS_${PN} = "\ 7RDEPENDS:${PN} = "\
9 libgcc \ 8 libgcc \
10 libgcc-dev \ 9 libgcc-dev \
11 libatomic \ 10 libatomic \
@@ -15,7 +14,7 @@ RDEPENDS_${PN} = "\
15 ${LIBC_DEPENDENCIES} \ 14 ${LIBC_DEPENDENCIES} \
16 " 15 "
17 16
18RRECOMMENDS_${PN}_mingw32 = "\ 17RRECOMMENDS:${PN}:mingw32 = "\
19 libssp \ 18 libssp \
20 libssp-dev \ 19 libssp-dev \
21 " 20 "
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
index 542a02057c..56ff1d2b06 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
@@ -8,15 +8,14 @@ PACKAGE_ARCH = "${TUNE_PKGARCH}"
8 8
9inherit packagegroup 9inherit packagegroup
10 10
11PR = "r3"
12 11
13MTRACE = "" 12MTRACE = ""
14MTRACE_libc-glibc = "libc-mtrace" 13MTRACE:libc-glibc = "libc-mtrace"
15 14
16STRACE = "strace" 15STRACE = "strace"
17STRACE_riscv32 = "" 16STRACE:riscv32 = ""
18 17
19RDEPENDS_${PN} = "\ 18RDEPENDS:${PN} = "\
20 gdb \ 19 gdb \
21 gdbserver \ 20 gdbserver \
22 ${MTRACE} \ 21 ${MTRACE} \
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index b8e2c718e6..b3a24b71de 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
@@ -4,22 +4,17 @@
4 4
5SUMMARY = "Profiling tools" 5SUMMARY = "Profiling tools"
6 6
7PR = "r3"
8 7
9PACKAGE_ARCH = "${MACHINE_ARCH}" 8PACKAGE_ARCH = "${MACHINE_ARCH}"
10 9
11inherit packagegroup 10inherit packagegroup
12 11
13PROFILE_TOOLS_X = ""
14# sysprof doesn't support aarch64 and nios2 12# sysprof doesn't support aarch64 and nios2
15PROFILE_TOOLS_X_aarch64 = ""
16PROFILE_TOOLS_X_nios2 = ""
17PROFILE_TOOLS_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-analyze', '', d)}" 13PROFILE_TOOLS_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-analyze', '', d)}"
18 14
19RRECOMMENDS_${PN} = "\ 15RRECOMMENDS:${PN} = "\
20 ${PERF} \ 16 ${PERF} \
21 blktrace \ 17 blktrace \
22 ${PROFILE_TOOLS_X} \
23 ${PROFILE_TOOLS_SYSTEMD} \ 18 ${PROFILE_TOOLS_SYSTEMD} \
24 " 19 "
25 20
@@ -27,19 +22,19 @@ PROFILETOOLS = "\
27 powertop \ 22 powertop \
28 " 23 "
29PERF = "perf" 24PERF = "perf"
30PERF_libc-musl = "" 25PERF:libc-musl = ""
31PERF_libc-musl_arm = "perf" 26PERF:libc-musl:arm = "perf"
32PERF_riscv32 = "" 27PERF:riscv32 = ""
33 28
34# systemtap needs elfutils which is not fully buildable on some arches/libcs 29# systemtap needs elfutils which is not fully buildable on some arches/libcs
35SYSTEMTAP = "systemtap" 30SYSTEMTAP = "systemtap"
36SYSTEMTAP_libc-musl = "" 31SYSTEMTAP:libc-musl = ""
37SYSTEMTAP_nios2 = "" 32SYSTEMTAP:nios2 = ""
38SYSTEMTAP_riscv64 = "" 33SYSTEMTAP:riscv32 = ""
39 34
40LTTNGTOOLS = "lttng-tools" 35LTTNGTOOLS = "lttng-tools"
41LTTNGTOOLS_arc = "" 36LTTNGTOOLS:arc = ""
42LTTNGTOOLS_riscv32 = "" 37LTTNGTOOLS:riscv32 = ""
43 38
44BABELTRACE = "babeltrace" 39BABELTRACE = "babeltrace"
45BABELTRACE2 = "babeltrace2" 40BABELTRACE2 = "babeltrace2"
@@ -47,21 +42,22 @@ BABELTRACE2 = "babeltrace2"
47# valgrind does not work on the following configurations/architectures 42# valgrind does not work on the following configurations/architectures
48 43
49VALGRIND = "valgrind" 44VALGRIND = "valgrind"
50VALGRIND_libc-musl = "" 45VALGRIND:libc-musl = ""
51VALGRIND_mipsarch = "" 46VALGRIND:mipsarch = ""
52VALGRIND_nios2 = "" 47VALGRIND:nios2 = ""
53VALGRIND_arc = "" 48VALGRIND:arc = ""
54VALGRIND_armv4 = "" 49VALGRIND:armv4 = ""
55VALGRIND_armv5 = "" 50VALGRIND:armv5 = ""
56VALGRIND_armv6 = "" 51VALGRIND:armv6 = ""
57VALGRIND_armeb = "" 52VALGRIND:armeb = ""
58VALGRIND_aarch64 = "" 53VALGRIND:aarch64 = ""
59VALGRIND_riscv64 = "" 54VALGRIND:riscv64 = ""
60VALGRIND_powerpc = "${@bb.utils.contains('TARGET_FPU', 'soft', '', 'valgrind', d)}" 55VALGRIND:riscv32 = ""
61VALGRIND_linux-gnux32 = "" 56VALGRIND:powerpc = "${@bb.utils.contains('TARGET_FPU', 'soft', '', 'valgrind', d)}"
62VALGRIND_linux-gnun32 = "" 57VALGRIND:linux-gnux32 = ""
58VALGRIND:linux-gnun32 = ""
63 59
64RDEPENDS_${PN} = "\ 60RDEPENDS:${PN} = "\
65 ${PROFILETOOLS} \ 61 ${PROFILETOOLS} \
66 ${LTTNGTOOLS} \ 62 ${LTTNGTOOLS} \
67 ${BABELTRACE} \ 63 ${BABELTRACE} \
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
index a5fc152859..34af40a43f 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
@@ -4,7 +4,6 @@
4 4
5SUMMARY = "Testing tools/applications" 5SUMMARY = "Testing tools/applications"
6 6
7PR = "r2"
8 7
9PACKAGE_ARCH = "${MACHINE_ARCH}" 8PACKAGE_ARCH = "${MACHINE_ARCH}"
10 9
@@ -12,13 +11,21 @@ inherit packagegroup
12 11
13# kexec-tools doesn't work on e5500-64b, microblaze and nios2 yet 12# kexec-tools doesn't work on e5500-64b, microblaze and nios2 yet
14KEXECTOOLS ?= "kexec" 13KEXECTOOLS ?= "kexec"
15KEXECTOOLS_e5500-64b ?= "" 14KEXECTOOLS:e5500-64b ?= ""
16KEXECTOOLS_microblaze ?= "" 15KEXECTOOLS:microblaze ?= ""
17KEXECTOOLS_nios2 ?= "" 16KEXECTOOLS:nios2 ?= ""
18KEXECTOOLS_riscv64 ?= "" 17KEXECTOOLS:riscv64 ?= ""
18KEXECTOOLS:riscv32 ?= ""
19
20# go does not support ppc32, only ppc64
21# https://github.com/golang/go/issues/22885
22# gccgo may do better
23GOTOOLS ?= "go-helloworld"
24GOTOOLS:powerpc ?= ""
25GOTOOLS:riscv32 ?= ""
19 26
20GSTEXAMPLES ?= "gst-examples" 27GSTEXAMPLES ?= "gst-examples"
21GSTEXAMPLES_riscv64 = "" 28GSTEXAMPLES:riscv64 = ""
22 29
23X11GLTOOLS = "\ 30X11GLTOOLS = "\
24 mesa-demos \ 31 mesa-demos \
@@ -36,7 +43,7 @@ X11TOOLS = "\
36 xprop \ 43 xprop \
37 " 44 "
38 45
39RDEPENDS_${PN} = "\ 46RDEPENDS:${PN} = "\
40 blktool \ 47 blktool \
41 ${KEXECTOOLS} \ 48 ${KEXECTOOLS} \
42 alsa-utils-amixer \ 49 alsa-utils-amixer \
@@ -48,4 +55,5 @@ RDEPENDS_${PN} = "\
48 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \ 55 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \
49 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", d)} \ 56 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", d)} \
50 ${@bb.utils.contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \ 57 ${@bb.utils.contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \
58 ${GOTOOLS} \
51 " 59 "
diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
index 3b430c0814..49c075eb11 100644
--- a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
@@ -10,7 +10,7 @@ BINUTILS = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
10GCC = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}" 10GCC = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
11GDB = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" 11GDB = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
12 12
13RDEPENDS_${PN} = "\ 13RDEPENDS:${PN} = "\
14 ${@all_multilib_tune_values(d, 'BINUTILS')} \ 14 ${@all_multilib_tune_values(d, 'BINUTILS')} \
15 ${@all_multilib_tune_values(d, 'GCC')} \ 15 ${@all_multilib_tune_values(d, 'GCC')} \
16 ${@all_multilib_tune_values(d, 'GDB')} \ 16 ${@all_multilib_tune_values(d, 'GDB')} \
diff --git a/meta/recipes-core/packagegroups/packagegroup-go-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-go-cross-canadian.bb
index 3daace1a40..d0596efe7a 100644
--- a/meta/recipes-core/packagegroups/packagegroup-go-cross-canadian.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-go-cross-canadian.bb
@@ -7,6 +7,6 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
7 7
8GO = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}" 8GO = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}"
9 9
10RDEPENDS_${PN} = " \ 10RDEPENDS:${PN} = " \
11 ${@all_multilib_tune_values(d, 'GO')} \ 11 ${@all_multilib_tune_values(d, 'GO')} \
12" 12"
diff --git a/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb
index 9a52b0781c..c03918acc8 100644
--- a/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb
@@ -2,11 +2,10 @@ SUMMARY = "Target packages for the Go SDK"
2 2
3inherit packagegroup goarch 3inherit packagegroup goarch
4 4
5RDEPENDS_${PN} = " \ 5RDEPENDS:${PN} = " \
6 go \ 6 go \
7 go-runtime \ 7 go-runtime \
8 go-runtime-dev \ 8 go-runtime-dev \
9 go-runtime-staticdev \
10" 9"
11 10
12COMPATIBLE_HOST = "^(?!riscv32).*" 11COMPATIBLE_HOST = "^(?!riscv32).*"
diff --git a/meta/recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb
new file mode 100644
index 0000000000..bb10a2d34f
--- /dev/null
+++ b/meta/recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb
@@ -0,0 +1,21 @@
1SUMMARY = "Host SDK package for Rust cross canadian toolchain"
2PN = "packagegroup-rust-cross-canadian-${MACHINE}"
3
4inherit cross-canadian packagegroup
5
6PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
7
8RUST="rust-cross-canadian-${TRANSLATED_TARGET_ARCH}"
9
10RDEPENDS:${PN} = " \
11 ${@all_multilib_tune_values(d, 'RUST')} \
12 nativesdk-binutils \
13 nativesdk-gcc \
14 nativesdk-glibc-dev \
15 nativesdk-libgcc-dev \
16 nativesdk-rust \
17 nativesdk-cargo \
18 nativesdk-rust-tools-clippy \
19 nativesdk-rust-tools-rustfmt \
20"
21
diff --git a/meta/recipes-core/packagegroups/packagegroup-rust-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-rust-sdk-target.bb
new file mode 100644
index 0000000000..59874c4c2c
--- /dev/null
+++ b/meta/recipes-core/packagegroups/packagegroup-rust-sdk-target.bb
@@ -0,0 +1,14 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7SUMMARY = "Target packages for the Rust SDK"
8
9inherit packagegroup
10
11RDEPENDS:${PN} = " \
12 rust \
13 cargo \
14"
diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index 9a70b189a4..df71695a97 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -4,7 +4,6 @@
4 4
5SUMMARY = "Self-hosting" 5SUMMARY = "Self-hosting"
6DESCRIPTION = "Packages required to run the build system" 6DESCRIPTION = "Packages required to run the build system"
7PR = "r13"
8 7
9PACKAGE_ARCH = "${TUNE_PKGARCH}" 8PACKAGE_ARCH = "${TUNE_PKGARCH}"
10 9
@@ -24,7 +23,7 @@ PACKAGES = "\
24 packagegroup-self-hosted-host-tools \ 23 packagegroup-self-hosted-host-tools \
25 " 24 "
26 25
27RDEPENDS_packagegroup-self-hosted = "\ 26RDEPENDS:packagegroup-self-hosted = "\
28 packagegroup-self-hosted-debug \ 27 packagegroup-self-hosted-debug \
29 packagegroup-self-hosted-sdk \ 28 packagegroup-self-hosted-sdk \
30 packagegroup-self-hosted-extended \ 29 packagegroup-self-hosted-extended \
@@ -32,7 +31,7 @@ RDEPENDS_packagegroup-self-hosted = "\
32 packagegroup-self-hosted-host-tools \ 31 packagegroup-self-hosted-host-tools \
33 " 32 "
34 33
35RDEPENDS_packagegroup-self-hosted-host-tools = "\ 34RDEPENDS:packagegroup-self-hosted-host-tools = "\
36 e2fsprogs \ 35 e2fsprogs \
37 e2fsprogs-e2fsck \ 36 e2fsprogs-e2fsck \
38 e2fsprogs-mke2fs \ 37 e2fsprogs-mke2fs \
@@ -41,7 +40,7 @@ RDEPENDS_packagegroup-self-hosted-host-tools = "\
41 iptables \ 40 iptables \
42 lsb-release \ 41 lsb-release \
43 mc \ 42 mc \
44 mc-fish \ 43 mc-shell \
45 mc-helpers \ 44 mc-helpers \
46 mc-helpers-perl \ 45 mc-helpers-perl \
47 parted \ 46 parted \
@@ -49,9 +48,9 @@ RDEPENDS_packagegroup-self-hosted-host-tools = "\
49 screen \ 48 screen \
50 " 49 "
51PSEUDO = "pseudo" 50PSEUDO = "pseudo"
52PSEUDO_libc-musl = "" 51PSEUDO:libc-musl = ""
53 52
54RRECOMMENDS_packagegroup-self-hosted-host-tools = "\ 53RRECOMMENDS:packagegroup-self-hosted-host-tools = "\
55 kernel-module-tun \ 54 kernel-module-tun \
56 kernel-module-iptable-raw \ 55 kernel-module-iptable-raw \
57 kernel-module-iptable-nat \ 56 kernel-module-iptable-nat \
@@ -59,7 +58,7 @@ RRECOMMENDS_packagegroup-self-hosted-host-tools = "\
59 kernel-module-iptable-filter \ 58 kernel-module-iptable-filter \
60 " 59 "
61 60
62RDEPENDS_packagegroup-self-hosted-sdk = "\ 61RDEPENDS:packagegroup-self-hosted-sdk = "\
63 autoconf \ 62 autoconf \
64 automake \ 63 automake \
65 binutils \ 64 binutils \
@@ -87,26 +86,29 @@ RDEPENDS_packagegroup-self-hosted-sdk = "\
87 quilt \ 86 quilt \
88 sed \ 87 sed \
89 " 88 "
90RDEPENDS_packagegroup-self-hosted-sdk_append_mingw32 = "\ 89RDEPENDS:packagegroup-self-hosted-sdk:append:mingw32 = "\
91 libssp \ 90 libssp \
92 libssp-dev \ 91 libssp-dev \
93 libssp-staticdev \ 92 libssp-staticdev \
94 " 93 "
95# rpcsvc-proto: for rpcgen 94# rpcsvc-proto: for rpcgen
96RDEPENDS_packagegroup-self-hosted-sdk_append_libc-glibc = "\ 95RDEPENDS:packagegroup-self-hosted-sdk:append:libc-glibc = "\
97 glibc-gconv-ibm850 \ 96 glibc-gconv-ibm850 \
98 glibc-utils \ 97 glibc-utils \
99 rpcsvc-proto \ 98 rpcsvc-proto \
100 " 99 "
101RDEPENDS_packagegroup-self-hosted-debug = " \ 100
101STRACE = "strace"
102STRACE:riscv32 = ""
103RDEPENDS:packagegroup-self-hosted-debug = " \
102 gdb \ 104 gdb \
103 gdbserver \ 105 gdbserver \
104 rsync \ 106 rsync \
105 strace \ 107 ${STRACE} \
106 tcf-agent" 108 tcf-agent"
107 109
108 110
109RDEPENDS_packagegroup-self-hosted-extended = "\ 111RDEPENDS:packagegroup-self-hosted-extended = "\
110 bzip2 \ 112 bzip2 \
111 chrpath \ 113 chrpath \
112 cpio \ 114 cpio \
@@ -124,12 +126,10 @@ RDEPENDS_packagegroup-self-hosted-extended = "\
124 grep \ 126 grep \
125 groff \ 127 groff \
126 gzip \ 128 gzip \
127 settings-daemon \
128 libaio \ 129 libaio \
129 libusb1 \ 130 libusb1 \
130 libxml2 \ 131 libxml2 \
131 lsof \ 132 lsof \
132 lzo \
133 man \ 133 man \
134 man-pages \ 134 man-pages \
135 mdadm \ 135 mdadm \
@@ -158,6 +158,7 @@ RDEPENDS_packagegroup-self-hosted-extended = "\
158 readline \ 158 readline \
159 rpm \ 159 rpm \
160 setserial \ 160 setserial \
161 settings-daemon \
161 socat \ 162 socat \
162 subversion \ 163 subversion \
163 sudo \ 164 sudo \
@@ -171,22 +172,23 @@ RDEPENDS_packagegroup-self-hosted-extended = "\
171 wget \ 172 wget \
172 which \ 173 which \
173 xinetd \ 174 xinetd \
175 xz \
174 zip \ 176 zip \
175 zlib \ 177 zlib \
176 xz \ 178 zstd \
177 " 179 "
178 180
179 181
180RDEPENDS_packagegroup-self-hosted-graphics = "\ 182RDEPENDS:packagegroup-self-hosted-graphics = "\
183 adwaita-icon-theme \
181 builder \ 184 builder \
185 l3afpad \
182 libgl \ 186 libgl \
183 libgl-dev \ 187 libgl-dev \
184 libglu \ 188 libglu \
185 libglu-dev \ 189 libglu-dev \
186 libx11-dev \ 190 libx11-dev \
187 adwaita-icon-theme \
188 xdg-utils \
189 l3afpad \
190 pcmanfm \ 191 pcmanfm \
191 vte \ 192 vte \
193 xdg-utils \
192 " 194 "