Patchwork [0/3,V3] Enable building modules on target

login
register
mail settings
Submitter Darren Hart
Date June 30, 2012, 4:20 a.m.
Message ID <cover.1341000751.git.dvhart@linux.intel.com>
Download mbox
Permalink /patch/30923/
State New
Headers show

Pull-request

git://git.yoctoproject.org/poky-contrib dvhart/modules-v3

Comments

Darren Hart - June 30, 2012, 4:20 a.m.
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(-)
Darren Hart - June 30, 2012, 4:22 a.m.
scratch this series.... apologies, sent the wrong one.

On 06/29/2012 09:20 PM, Darren Hart wrote:
> 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(-)
>