poky commit 9eb88ceb39b7d0b8ddc6487e61ce8edadef10ec4 1. Create a qemux86-64 core-image-sato-sdk image. 2. Run the image under QEMU. 3. Go to /usr/src/kernel and run "make scripts && make menuconfig" 4. Mark a kernel feature as a module (M) and save the configuration. 5. Run make && make modules_install in order to compile and install the module. Output when running make: root@qemux86-64:/usr/src/kernel# make make[1]: Nothing to be done for `all'. make[1]: *** No rule to make target `arch/x86/tools/relocs.c', needed by `arch/x86/tools/relocs'. Stop. make: *** [archscripts] Error 2
The /usr/src/kernel directory is only intended to contain the headers, scripts, tools, and Makefiles necessary to build EXTERNAL modules. it does not contain ALL of the sources, and is not intended to rebuild parts of the original build.
Oki, thanks Darren. The test case was unclear, I've update it. Compiling and loading an external module works just fine.