Passing a especific library in compilation of Kernel

Hi,

I created a library and i want to use this library instead to have to read every time, all .cpp files to use in my kernel.

Someone know if have a way when i compile the kernel i can pass this library?

Very Thanks,

Luiz Drumond.