Thanks for your reply,

in fact, I use the virtual/kernel as a target
I don't know what name to provide for "YourModule"
The module I work on is driver/media/video/em28xx but "em28xx" is not recognized as a target by bitbake

when I run a bitbake -c clean virtual/kernel, it removes all the kernel and module sources (the source code I want to modify)

I think I will dig into the OE documentation !
or another approach would be to get the .config/patches from angstrom tree, and compile a pure kernel using the classical "linux" method

Best Regards,
Chris


Le 22/05/2012 18:10, Don deJuan a écrit :
On 05/22/2012 06:08 AM, Gyorgy Kovesdi wrote:
On 2012 May 22 12:56:49 chrbruno wrote:
Hello (I'm new to angstrom),
I'm working on a kernel module on Beagleboard / Angstrom but I can't
find a way to modify and recompile it
I had similar problem: if you compile something like this:
$>  bitbake your-module
then executing
$>  bitbake your-module -c clean
theoretically would be enough for recompile it next time. But i found this is not enough in
some cases (e.g. for kernel modules), i don't know why.
Try to clean the state cache this way:
$>  rm build/sstate-cache/*your-module*
Hope this helps

K. Gy.


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

I could be wrong here but I believe if you use
bitbake -c cleansstate YourModule
Is the better way to clean the package. I was having issues just using clean and no long do when I do the cleansstate.

HTH

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to