All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Weber <rjohnweber@gmail.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Method to install firmware blobs into kernel source tree prior to kernel compile
Date: Mon, 11 Mar 2013 23:11:56 -0500	[thread overview]
Message-ID: <513EAB0C.1050501@gmail.com> (raw)

I have a need to build firmware blobs into the kernel because of problems with 
udev in poky master.

I would like to write a kernel recipe which will draw from linux-firmware and 
pull specific firmware files into the kernel source tree before the compile step.

I was thinking that I would make the kernel recipe depend on 
linux-firmware-<package>.  This device would be one of the packages specified in 
the linux-firmware recipe.  In the do_configure_prepend_<MACHINE>() function I 
would then copy/install the blobs from the destination directory into to the 
kernels source tree in the right place.  Of course, that would only run for a 
specific machine.

Does this sound plausible?  Is there a better way of doing it?  If I could make 
this work and submitted it, would it acceptable?  If not, then I'll make my life 
simple by just creating a local copy of the firmware files and a private recipe 
for installing them.

John


                 reply	other threads:[~2013-03-12  4:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=513EAB0C.1050501@gmail.com \
    --to=rjohnweber@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.