Openembedded Core Discussions
 help / color / mirror / Atom feed
* rebuilding external kernel modules when kernel changed
@ 2016-06-21 14:36 Pascal Bach
  2016-06-21 14:40 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal Bach @ 2016-06-21 14:36 UTC (permalink / raw)
  To: openembedded-core

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?

Regards
Pascal



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-21 15:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21 14:36 rebuilding external kernel modules when kernel changed Pascal Bach
2016-06-21 14:40 ` Martin Jansa
2016-06-21 15:21   ` Pascal Bach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox