[OE-core] rebuilding external kernel modules when kernel changed

Martin Jansa martin.jansa at gmail.com
Tue Jun 21 14:40:29 UTC 2016


On Tue, Jun 21, 2016 at 04:36:32PM +0200, Pascal Bach wrote:
> Hello
> 
> I ran into an issue when working with kernel modules that are not part of the kernel source tree.
> 
> The issue manifests itself as follows:
> 
> 1. Build an image containing virtual/kernel and kernel-module-a
> 
> 2. Do a `bitbake virtual/kernel -c clean`
> 
> 3. Rebuild the above image again. This causes the kernel do rebuild and it seems that the do_compile task of kernel-module-a is also re-exectued.
> But this causes an error as there is some configuration missing in the kernel source directory that is created by module.bbclass:do_make_scripts.
> I think that the issue is that the do_make_scripts task is not re-executed prior to the modules do_compile task.
> 
> 
> I tried to teach bitbake to execute do_make_scripts too once the kernel was rebuilt, but I didn't find a way.
> 
> Any hints how this can be done?

What version are you using?

Are you using rm_work?

Check https://bugzilla.yoctoproject.org/show_bug.cgi?id=9352 
> 
> Regards
> Pascal
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160621/aebdcb11/attachment-0002.sig>


More information about the Openembedded-core mailing list