Porting FreeBSD
The following details are to be used for porting the FreeBSD kernel and/or base system to a new architecture (such as sparc64, arm, etc).
Building the tree in a non-standard location
Note: These tips were explained to me by M. Warner Losh on the freebsd-hackers@ list
setenv TARGET arm # this may be iguana for you setenv TARGET_ARCH arm setenv MAKEOBJDIRPREFIX /home/imp/obj cd p4/imp_arm make buildworld make buildenv # from here on out is in a subshell cd ../arm/src/sys/arm/conf config KB920X cd ../compile/KB920X make depend && make