[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Kernel developing tools
From:       Nicolás_Papp <nicolaspapp () gmail ! com>
Date:       2016-12-21 16:00:42
Message-ID: CALJNJscYYdDON6PksB7tKCnAM6pDaBTUhoBK6k7YdFhe4JOrsg () mail ! gmail ! com
[Download RAW message or body]

Thank you Eugene and Alan! This is already saving me lots of hours of
waiting!



2016-12-20 23:21 GMT-03:00 Eugene Grosbein <eugen@grosbein.net>:

> 21.12.2016 3:45, Nicolás Papp пишет:
>
> Has somebody managed to configure any IDE to build and debug the freeBSD
>> kernel?
>>
>> I am currently using kgdb and it takes me a ton of time to rebuild and
>> debug for just some minor changes!
>>
>
> First, "make NO_KERNELCLEAN=yes buildkernel" avoids cleanup of build
> directory
> and allows reuse of previously built object files corresponding
> to unchanged sources - use for relatively minor changes, not after switch
> to another major release sources.
>
> Then, "make NO_KERNELDEPEND=yes buildkernel" skips lengthy rebuild of
> dependencies -
> use if you has not changed kernel configuration since previous build.
>
> And "make MODULES_WITH_WORLD=yes buildkernel" skips rebuild for whole bunch
> of kernel modules while building just kernel.
>
> You may combine these: make NO_KERNELCLEAN=yes NO_KERNELDEPEND=yes
> MODULES_WITH_WORLD=yes buildkernel.
> This way decreases build times dramatically.
>
>
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic