In order to build modules on the target, you first have to build the scripts binaries on the target: $ cd /usr/src/kernel $ make scripts This is unexpected and tends to confuse developers. The kernel-dev package should have these binaries built for the target arch.
See also#4389
Cycles are questionable to get to this. If someone else can look into it, that would be great.
See my update to https://bugzilla.yoctoproject.org/show_bug.cgi?id=4389, there are technical issues in the way of doing this.
I also added some comments in https://bugzilla.yoctoproject.org/show_bug.cgi?id=4389, I believe fixing 4389 will also address this one (6630). In any case, the changes will affect kernel-devsrc (not kernel-dev).
Please update this milestone. If it is not going into 2.5 push to 2.99.
I believe fixing 4389 will also fix this. *** This bug has been marked as a duplicate of bug 4389 ***