Hi angstrom users! I've tried to bitbake recipe with LKM (loadable kernel modules). I didn't find quite good example from recipes. I found http://www.kunen.org/uC/beagle/oe_kmod.html that gives principles and just using sources from this example it works fine. However, I need to use libraries for instance to <asm/io.h>, that do_compile of this tutorial does not provide set-ups for. Therefore, compilation crashes as it does not find required symbols. In fact module_do_compile that is defined in module.bbclass that is "inherited" in the example code seems taking care of these library paths. Using this module_do_compile, i.e. not defining own do_compile, seems doing nice work. Compilation log produced with -D switch looks fine, has library definitions and references to kernel object files. Compilation goes through without errors. However, there are no kernel objects in ${WORKDIR} even though they were referenced in the log file. What might go wrong?
-Matti _______________________________________________ Angstrom-distro-users mailing list Angstrom-distro-users@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users