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 [http://lists.freebsd.org/pipermail/freebsd-hackers/2006-July/017344.html 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.1153711466.txt.gz
  • Last modified: 2006/07/24 03:24
  • by TylerBallance