Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2001 04:49:22 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/config config.y configvers.h mkoptions.c
Message-ID:  <200101191249.f0JCnMj21551@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2001/01/19 04:49:22 PST

  Modified files:
    usr.sbin/config      config.y configvers.h mkoptions.c 
  Log:
  Implement option strings that we can use in #ifdefs (where unavoidable)
  as a replacement for the evil #define NFOO.  If 'device npx' is in the
  static kernel, a synthetic option '#define DEV_NPX 1' will be available
  to stick in an opt_xxx.h file.  "#if NNPX > 0" can be replaced with
  "#ifdef DEV_NPX" and we can get rid of the overloaded meaning of the
  device count mechanism.
  
  Revision  Changes    Path
  1.47      +26 -1     src/usr.sbin/config/config.y
  1.25      +2 -2      src/usr.sbin/config/configvers.h
  1.22      +2 -2      src/usr.sbin/config/mkoptions.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101191249.f0JCnMj21551>