Editing Building FreeBSD World
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=Introduction= | =Introduction= | ||
* You can either cross-compile the FreeBSD world on your PC | * You can either cross-compile the FreeBSD world on your PC freeBSD or compile it natively on PS3. | ||
= | =Checking Out Head= | ||
<pre> | <pre> | ||
svn co svn://svn.freebsd.org/base/head /usr/devel | svn co svn://svn.freebsd.org/base/head /usr/devel | ||
Line 24: | Line 16: | ||
<pre> | <pre> | ||
cd /usr/devel/sys/powerpc/conf | cd /usr/devel/sys/powerpc/conf | ||
mkdir /root/kernels | mkdir /root/kernels | ||
cp GENERIC64 /root/kernels/PS3 | cp GENERIC64 /root/kernels/PS3 | ||
ln -s /root/kernels/PS3 | ln -s /root/kernels/PS3 | ||
cd ../../.. | cd ../../.. | ||
env MAKEOBJDIRPREFIX=/usr/obj/PS3 make buildworld buildkernel installkernel installworld distribution \ | env MAKEOBJDIRPREFIX=/usr/obj/PS3 make buildworld buildkernel installkernel installworld distribution \ | ||
TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=/root/PS3 | TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=/root/PS3 | ||
</pre> | </pre> | ||
=Rebuilding Loader= | =Rebuilding Loader= | ||
<pre> | <pre> | ||
Line 59: | Line 36: | ||
=Rebuilding Kernel= | =Rebuilding Kernel= | ||
<pre> | <pre> | ||
Line 67: | Line 42: | ||
TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=/root/PS3 | TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=/root/PS3 | ||
</pre> | </pre> | ||