PS3 GPU Driver: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
* You can cross-compile the kernel module or build it natively on PS3 FreeBSD. | * You can cross-compile the kernel module or build it natively on PS3 FreeBSD. | ||
* The kernel module and the kernel should mactch. That means the kernel module should be build against the same kernel source else the kernel module cannot be loaded. | * The kernel module and the kernel should mactch. That means the kernel module should be build against the same kernel source else the kernel module cannot be loaded (The same applies on Linux). | ||
<pre> | <pre> |
Revision as of 15:12, 22 September 2012
Introduction
Kernel Driver
Building
- You can cross-compile the kernel module or build it natively on PS3 FreeBSD.
- The kernel module and the kernel should mactch. That means the kernel module should be build against the same kernel source else the kernel module cannot be loaded (The same applies on Linux).
cd /usr/devel env MAKEOBJDIRPREFIX=/usr/obj/PS3 make TARGET=powerpc TARGET_ARCH=powerpc64 buildenv cd /home/glevand/ps3gpu make ls -l ps3gpu.ko