On 01/27/2013 07:47 PM, Olivier Coursière wrote:
Is there an easy way to link a static library to the kernel using some jam rules ?
Sure, this is already done within the kernel. Just list it along the other .o/.a files.
I would like to help improving the Haiku port to the raspberry pi, but my ARM hardware knowledge is almost non existent. While thinking about what i could do to help, i came with the idea to use Chadderz's Simple USB Driver in the kernel debugger (https://github.com/Chadderz121/csud) to bring early keyboard support on the raspberry pi. This simple and minimalist USB stack was designed to bring some basic USB support for bare metal coding on the Pi. It can be compiled as a standalone static library with a simple interface.
This could only be interesting for the boot loader. In any case, it should probably be included similarly as other external things like ICU or OpenSSL, ie. you need an optional package for it and let it depend on it.