Skip to content

Fix for building kernel modules outside of virtual/kernel recipe

Darren Hart openembedded-core poky 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2module: build hostprogs for each modulemeta/classes/module.bbclass+11 -10 replies
2/2hello-mod: add a module for testing module.bbclassmeta/recipes-kernel/hello-mod/files/COPYING meta/recipes-kernel/hello-mod/files/Makefile meta/recipes-kernel/hello-mod/files/hello.c +1 more+402 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix for building kernel modules outside of virtual/kernel recipe

From: Darren Hart <[email protected]>

The following patches provide a mechanism to address [BUGID #241] through an addition to module.bbclass which builds the hostprogs. The second patch adds an example kernel module.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: dvhart/modules
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/modules

Thanks,
Darren Hart <[email protected]>
---

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

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