[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ho to properly rebuild single module?



On Sun, Feb 27, 2022 at 3:14 PM Grzesiek <pld@sojka.co> wrote:
Hi there,

I need to apply the following
https://lore.kernel.org/linux-rdma/1645106372-23004-1-git-send-email-mike.marciniszyn@cornelisnetworks.com/T/#u
and rebuild ib_qib. To rebuild I wrote the following script
.....
But the module I get is almost 20 times bigger than the original one.

In the most general terms:
Make sure that symbol tables for debugging purposes are excluded from the build.
Make sure you are not linking statically but instead dynamically.
 
What is the proper way to build?

Regards Greg


Reply to: