remove compilation of packages for faster compilation

Hi,
I am very new to freebsd. I am building a kernel and filesystem for my ARM based board. Everything is fine but I need to reduce the compilation time. I want remove compilation of some packages and libraries that are not required. This will help in reducing my filesystem size and also compilation time.

Where can I select what packages to compile and what not to compile?
 
Well, for packages you simply exclude them from your build script. How are you building packages?

If it's world components you want to disable from building, use /etc/src.conf and read src.conf(5).
 
The file doesn't exist by default. Which means everything will be build.
 
Well I did not try many since I was preoccupied with other things. But I went through the man page and tried some options that I dont need like WITHOUT_INET6, WITHOUT_IPFILTER, WITHOUT_KERBEROS.
 
Back
Top