This is an old revision of the document!


Meta mode

Meta mode is an incremental build option for FreeBSD, which uses bmake's meta mode and filemon(4) to create meta files. It substantially decreases the time it takes to build FreeBSD, by only building what has changed since the last build.

  • src.conf(5)
  • build(7)

Note: Enabling META_MODE also implies (enables) NO_CLEAN in the buildworld process

  1. /etc/src-env.conf:
WITH_META_MODE=YES
  1. kldload filemon
  2. You also need to make cleanworld once. If objects don't have .meta files then META_MODE won't do the right thing on an incremental build. 1)


  • metamode.1609639263.txt.gz
  • Last modified: 2021/01/03 02:01
  • by KubilayKocak