trim-firmware: if intel bluetooth firmware is included, include all of them
Currently only a subset of intel bluetooth firmware files are declared
as required by the btintel driver. If they are included, also copy and
include the rest of them for all other (more recent) devices.
BugLink: https://bugs.launchpad.net/bugs/1970819
Signed-off-by: Dimitri John Ledkov <email address hidden>
Acked-by: Tim Gardner <tim.gardner at canonical.com>
Signed-off-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Dimitri John Ledkov <email address hidden>
Acked-by: Tim Gardner <tim.gardner at canonical.com>
Signed-off-by: Dimitri John Ledkov <email address hidden>
linux-firmware provides a lot of binaries that are not needed/required and
just blow up the size of the kernel snap. In order to reduce the snap size,
remove all firmware binaries that are not referenced by the kernel. But
only if TRIM_FIRMWARE is set to 'true'.
Note that older kernels don't reference brcm firmware config files so
copy the whole directory content to be on the safe side.