cvs commit: src/release Makefile src/sys/conf kern.post.mk kmod.mk

Jung-uk Kim jkim at FreeBSD.org
Wed Oct 26 14:07:04 PDT 2005


On Tuesday 25 October 2005 05:05 am, Ruslan Ermilov wrote:
> ru          2005-10-25 09:05:07 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     release              Makefile
>     sys/conf             kern.post.mk kmod.mk
>   Log:
>   Refactor (some more) installation of kernel and module objects.
>
>   Try to make everyone happy: David (to have debug kernels
> installed by default), Warner (to be able to override that), and
> myself (for actually making it all work and to be consistent).
>
>   Now, if kernel was configured for debugging (through DEBUG=-g in
>   the kernel config file or "config -g"), doing "make install" will
>   install debug versions of kernel and module objects with their
>   canonical names,
>
>           kernel.debug -> /boot/kernel/kernel
>           if_fxp.ko.debug -> /boot/kernel/if_fxp.ko
>
>   Installing a kernel not configured for debugging, or debug kernel
>   with INSTALL_NODEBUG variable defined, will install non-debug
>   kernel and module objects.
>
>   Also, restore the install.debug and reinstall.debug targets that
>   are part of the existing API (they cause some additional gdb(1)
>   scripts to be installed).
>
>   Revision  Changes    Path
>   1.891     +0 -4      src/release/Makefile
>   1.86      +4 -2      src/sys/conf/kern.post.mk
>   1.197     +3 -8      src/sys/conf/kmod.mk

It's broken amd64.  I had DEBUG=-g in the configuration and it's 
spewing a lot of 'kldload: unexpected relocation type 10' while 
preloading modules. :-(

Jung-uk Kim


More information about the cvs-src mailing list