All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Galauner <andreas@galauner.de>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Building kernel modules as dependencies
Date: Sun, 29 Jun 2014 02:20:08 +0200	[thread overview]
Message-ID: <53AF5BB8.80904@galauner.de> (raw)

Hi all,

I created recipes for two out-of-tree kernel modules written by myself
in Yocto. I added these two modules in the machine config to
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS or even
MACHINE_ESSENTIAL_EXTRA_RDEPENDS.

The modules build fine if I build them as targets with bitbake. The
right packages are generated and if I build the image after that, they
are included into the rootfs.
But if the modules are not build by hand before building the image, they
aren't built as dependencies and RRECOMMENDS just doesn't include them
into the image as it is supposed to do and RDEPENDS fails of course with
"Nothing PROVIDES kernel-module-my-module-name".

How can I build the kernel modules as image dependencies?
I can't seem to get it done with the countless approaches I already
tried. For example just adding the modules to CORE_IMAGE_EXTRA_INSTALL
didn't work either.

Thanks,
-Andy


             reply	other threads:[~2014-06-29  0:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-29  0:20 Andreas Galauner [this message]
2014-06-29  5:33 ` Building kernel modules as dependencies Christian Ege
2014-06-29  7:33   ` Andreas Galauner

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=53AF5BB8.80904@galauner.de \
    --to=andreas@galauner.de \
    --cc=yocto@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.