Re: How to build just one device....

看板DFBSD_kernel作者時間21年前 (2004/11/10 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
:If I make changes to only the ata device, what is the makefile sequence I :need to only build that device and link into the kernel w/o rebuilding :everything else? : :jm :-- If you previously ran the buildkernel target you can run the quickkernel target to only rebuild what has changed. It will still rerun the dependancies, but that doesn't take too long. e.g. cd /usr/src/ # do a full build # make buildkernel KERNCONF=blah # do an incremental rebuild # make quickkernel KERNCONF=blah You can also cd directly into the kernel build directory, /usr/obj/usr/src/sys/blah (that is the path if /usr/src is not a softlink), that the above make's created, and just type 'make' and 'make install', which skips the depend step. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #11aJ0Q00 (DFBSD_kernel)
文章代碼(AID): #11aJ0Q00 (DFBSD_kernel)