This is an old revision of the document!


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
  • tylerballance/porting.1213738663.txt.gz
  • Last modified: 2008/06/17 21:37
  • by 127.0.0.1