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

Ruslan Ermilov ru at FreeBSD.org
Tue Oct 25 02:05:08 PDT 2005


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


More information about the cvs-src mailing list