linux-fusion
linux-fusion copied to clipboard
Official DirectFB GitHub Repository (linux-fusion)
Easy installation without kernel patch
-
Run 'make' and 'make install'. It builds and installs the module for the running kernel version as reported by 'uname -r'. If you want to build for another kernel, edit the Makefile.
-
Either run 'modprobe fusion' manually or add "fusion" to "/etc/modules".
-
Create the fusion device(s) if not using devfs or udev:
mkdir /dev/fusion mknod /dev/fusion/0 c 250 0
...if you need more than one session
mknod /dev/fusion/1 c 250 1 mknod /dev/fusion/2 c 250 2
...and so on (currently limited to eight sessions)
-
Add udev rules to /etc/udev/rules.d/40-fusion.rules if using udev:
KERNEL=="fusion[0-9]*", NAME="fusion/%n", GROUP="video", MODE="0660"
...customize to suit your needs
Special arguments for cross builds
-
Simple example:
make KERNEL_VERSION=2.6.25.4 SYSROOT=/opt/sh7723 install
-
Explicit source tree:
make KERNEL_VERSION=2.6.25.4 SYSROOT=/opt/sh7723 KERNEL_BUILD=/home/sh7723/kernel install