Skip to content

Instantly share code, notes, and snippets.

@bao3
Created May 6, 2014 07:18
Show Gist options
  • Save bao3/6157419ed425507955e3 to your computer and use it in GitHub Desktop.
Save bao3/6157419ed425507955e3 to your computer and use it in GitHub Desktop.
FreeBSD make.conf 提高编译内核速度。通常来说,编译内核要depend 以及obj,然后还要把不需要的modules都编译好放在/boot/modules里面备用。所以要修改make.conf,因为我只想要一个kernel文件而已,其他的都不需要。
NO_MODULES=yes
NO_KERNELDEPEND=yes
NO_KERNELOBJ=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment