[packages/kernel] add firmware bcond to disable packaging firmware in main package (use linux-firmware package)

Jan Rękorajski baggins at pld-linux.org
Mon Mar 16 08:45:21 CET 2015


On Fri, 13 Feb 2015, Elan Ruusamäe wrote:

> On 13.02.2015 12:10, Jan Rękorajski wrote:
> > Add Req linux-firmware when building with internal firmware disabled.
> >
> > On Fri, Feb 13, 2015 at 10:40 AM, glen <glen at pld-linux.org> wrote:
> >> commit 6133b03ba349175a5dd4e5aaacea9a73c2a95115
> >> Author: Elan Ruusamäe <glen at delfi.ee>
> >> Date:   Tue Feb 3 00:03:10 2015 +0200
> >>
> >>      add firmware bcond to disable packaging firmware in main package (use linux-firmware package)
> on a slightly related topic:
> 
> kernel makefile supports two way of installing firmwares:
> 1. install what is needed based on enabled modules
> 2. install any firmware present in sources
> 
> how pld make install is invoked, it does "2", but imho should do "1".

It's not _that_ smart, what I see in Makefile is "install firmware for
modules" and "install all firmware", I don't know if built-in drivers
always pull firmware inline. Besides, the gain would probably be small,
did you test it?

> 
> also, what is the difference with firmware from kernel sources and the 
> externally built one.
> i have not found definitive answer to this.

linux-firmware is more complete due to licensing:

"""
This repository contains all these firmware images which have been
extracted from older drivers, as well various new firmware images which
we were never permitted to include in a GPL'd work, but which we _have_
been permitted to redistribute under separate cover.
"""

-- 
Jan Rękorajski                    | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/


More information about the pld-devel-en mailing list