All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: poky@yoctoproject.org
Cc: Darren Hart <dvhart@linux.intel.com>
Subject: [PATCH 0/2] RFC: enable building of out-of-tree modules
Date: Wed, 02 Mar 2011 10:00:55 -0800	[thread overview]
Message-ID: <b9dded$i440id@orsmga002.jf.intel.com> (raw)

From: Darren Hart <dvhart@linux.intel.com>

The following patches provide a mechanism to address [BUGID #241] through
two additions to module.bbclass which build and clean the hostprogs. The
second patch adds an example kernel module.

When building with the hello-world-mod, the resulting rootfs is missing
all the other kernel modules (/lib/modules/KERNEL_VER/extras contains
hello-world.ko, but /lib/modules/KERNEL_VER/kernel is missing). The
sysroots has all the modules, but the rootfs generated by the image
recipe only has the hello-world module. This is the last wrinkle to
iron out, any ideas on how to address this would be appreciated.

Gary, can you try the module.bbclass with your module to see if it
builds successfully?

Thanks,

Darren Hart (2):
  module: build and clean hostprogs for each module
  hello-world-mod: add a module for testing module.bbclass

 meta/classes/module.bbclass                        |   21 ++-
 meta/recipes-kernel/hello-world-mod/files/COPYING  |  340 ++++++++++++++++++++
 meta/recipes-kernel/hello-world-mod/files/Makefile |   14 +
 .../hello-world-mod/files/hello_world.c            |   33 ++
 .../hello-world-mod/hello-world-mod.bb             |   15 +
 5 files changed, 422 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-kernel/hello-world-mod/files/COPYING
 create mode 100644 meta/recipes-kernel/hello-world-mod/files/Makefile
 create mode 100644 meta/recipes-kernel/hello-world-mod/files/hello_world.c
 create mode 100644 meta/recipes-kernel/hello-world-mod/hello-world-mod.bb



             reply	other threads:[~2011-03-02 18:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 18:00 Darren Hart [this message]
2011-03-02 23:34 ` [PATCH 0/2] RFC: enable building of out-of-tree modules Darren Hart
2011-03-03  9:28   ` Saul Wold

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='b9dded$i440id@orsmga002.jf.intel.com' \
    --to=dvhart@linux.intel.com \
    --cc=poky@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.