Drivers are not filtered by platform anymore
|Reported by:||Jiri Svoboda||Owned by:||Jiri Svoboda|
|Blocker for:||Depends on:|
Drivers used to be filtered by platform, in other words, platform specific drivers would not be delivered on platforms they are not supposed to be used on. This was achieved either by not building them or not copying them to dist.
This functionality was lost with the switch to Meson. Currently we deliver incorrectly, for example, as part of amd64 image these drivers: adb-kbd, adb-mouse, amdm37x, amdm37x_dispc, arm64virt, cuda_adb, ddisk, gicv2, hikey960, icp, icp-ic, mac, malta, msim, msim-con, obio, pl011, pl050, ski, ski-con, sun4v, sun4v-con.
This delivering of many useless drivers bloats the OS images unnecessarily.