Thanks for the response.
My goal is just to be able to build a single driver/module for testing./debugging, without having to go through the entire kernel package build process each time.
I do not care whether I am building the driver on the target on on an x86 host.
I had hope that just installing the kernel headers on the target was sufficient
When that did not work I tried to copy the bb-kernel/KERNEL tree into /usr/src/linux-..... on the target.
and do a
make scripts
there.
but when I tried to build a driver on the target I got a file format error when make tried to execute modpost.
I can not seem to figure out how to get an arm version of modpost to build.
I am now trying to get build_debs.sh to run on the target.
But I may grow old and die before that finishes.
Do you have any suggestions as to an easier way to get the environment needed to build a single driver ?