Skip to content

Enable building modules on target

Darren Hart openembedded-core poky 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v25 patches 9 repliesSuperseded
  3. v14 patches 15 repliesSuperseded

Changes in v3 from the cover letter

o Fix tasl-core-sdk typo
o Rebase on origin/master where 2 patches had already been applied
o Correct the bitbake.conf STAGING_KERNEL_DIR path which I missed in V2

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kernel: Add kernel headers to kernel-dev packagemeta/classes/kernel.bbclass meta/conf/bitbake.conf+8 -90 replies
2/3task-core-sdk: Add kernel-dev to task-core-sdk RDEPENDSmeta/recipes-core/tasks/task-core-sdk.bb+3 -20 replies
3/3linux-yocto-custom: Remove linux-toolsmeta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb+0 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBruce Ashfield
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/3 V3] Enable building modules on target

Note: As this is a major change that impacts every BSP, I suggest this
spend some time in MUT before being included into master.

This series simplifies the include mechanisms for the linux-yocto recipes and adds support for a kernel-headers package which enables the building of modules on the target.

Sending to both oe-core and poky as this series touches files in both and I didn't want to confuse the intent or the dependency by splitting them up.

V2:
o Add files to kernel-dev rather than create a new kernel-headers package
o Move the location to /usr/src/kernel from /usr/src/kernel-headers
o Eliminate the kernel-misc package as kernel-dev covers it now
o Fix a bug with linux-yocto-custom exposed during testing

V3:
o Fix tasl-core-sdk typo
o Rebase on origin/master where 2 patches had already been applied
o Correct the bitbake.conf STAGING_KERNEL_DIR path which I missed in V2

Testing Performed:
Built core-image-sato-sdk for qemux86 and copied over the hello-mod module sources. Built the scripts dir in /usr/src/kernel, then built the hello-mod module on the target, insmod, rmmod, dmesg -n 2. The output was correct.

The following changes since commit a5b2c1e4ce3ad4f2b9ea306c6d10f528c5ef8b66:

bitbake: Hob: change 'run image' and 'deploy' Gui and work flow for building detail page (2012-06-29 14:46:47 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib dvhart/modules-v3
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dvhart/modules-v3

Darren Hart (3):
kernel: Add kernel headers to kernel-dev package
task-core-sdk: Add kernel-dev to task-core-sdk RDEPENDS
linux-yocto-custom: Remove linux-tools

 .../recipes-kernel/linux/linux-yocto-custom.bb          |    2 --
 meta/classes/kernel.bbclass                             |   15 +++++++--------
 meta/conf/bitbake.conf                                  |    2 +-
 meta/recipes-core/tasks/task-core-sdk.bb                |    5 +++--
 4 files changed, 11 insertions(+), 13 deletions(-)
Signature · 1 line
1.7.10.2