DragonFly BSD
DragonFly kernel List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Nov 2004 10:37:24 -0800 (PST)

: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@xxxxxxxxxxxxx>



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