Re: Why does it take so long to compile a module

看板DFBSD_kernel作者時間15年前 (2010/11/19 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
On 20/10/10 20:31, Pratyush wrote: > I just wrote a simple module. In declare module i wrote SI_ORDER_MIDDLE, wrote a > Makefile and included .include <bsd.kmod.mk>. > Its almost 40 min compiling with verbose display. Is their a mechanism to speed > it up? or a work around. > > Pratyush. > Please take a look at one of our modules in the source tree. Nothing takes 40 minutes to build. The whole kernel takes <10 minutes on an average machine. I'd venture to say that the average build time of a 1-file kmod is < 30 seconds. Cheers, Alex
文章代碼(AID): #1CvdndZX (DFBSD_kernel)
文章代碼(AID): #1CvdndZX (DFBSD_kernel)