Re: [PATCH] firmware: Automatically pull missing FW files

From: David Woodhouse
Date: Wed Aug 20 2014 - 16:39:24 EST


On Wed, 2014-08-20 at 12:21 -0700, Tadeusz Struk wrote:
> Hi David,
> On 08/20/2014 11:34 AM, David Woodhouse wrote:
> > I'm not sure I understand. Precisely what fails?
>
> I clone a subsystem, configure it to use
> CONFIG_EXTRA_FIRMWARE="qat_895xcc.bin", type make && make install and get:
>
> MK_FW firmware/qat_895xxc.bin.gen.S
> make[1]: *** No rule to make target `firmware/qat_895xxc.bin', needed by
> `firmware/qat_895xxc.bin.gen.o'. Stop.

Can't you already just use CONFIG_EXTRA_FIRMWARE_DIR ?

> Yes, if you use udev helper. When you want to compile in the blobs to
> your kernel it is needed in build time, right?

Yes. But seriously: don't do that. Let firmware get loaded from
userspace the normal way. Don't build kernel images that you can't distribute
because they include non-GPL parts.

--
dwmw2

Attachment: smime.p7s
Description: S/MIME cryptographic signature