diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-16 21:49:01 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-16 23:42:32 +0200 |
commit | 2fc19d0e194f6d0383f9cb671d0fb479d01a8aac (patch) | |
tree | 4a8c94aec7a7f8c997c6a3103ed256a4c07f6523 /package/linux-fusion/linux-fusion-8.1.1-missing-include.patch | |
parent | 0d42aba5426138379399331070d0b9a6ea784569 (diff) | |
download | buildroot-novena-2fc19d0e194f6d0383f9cb671d0fb479d01a8aac.tar.gz buildroot-novena-2fc19d0e194f6d0383f9cb671d0fb479d01a8aac.zip |
linux-fusion: many fixes
This commit fixes several issues with linux-fusion so that it builds
properly with the current Buildroot:
* Following the rework of the Linux kernel build process in
Buildroot, a few adaptations were needed: depend on
BR2_LINUX_KERNEL instead of !BR2_KERNEL_none, use
$(LINUX26_VERSION_PROBED) to get the real kernel version, etc.
* Add a LINUX_FUSION_BUILD_CMDS that actually does the build of
linux-fusion.
* Define SYSROOT for linux-fusion to TARGET_DIR so that at target
installation, kernel modules are installed in $(TARGET_DIR)
* Replace the staging installation by a simple one-liner that only
installs the linux fusion header, needed for DirectFB to use the
fusion kernel module
* Fix the uninstallation macros. They have been misunderstood as
hooks, while their are in fact normal macros.
* Add a patch to fix a build failure in linux-fusion itself (missing
<linux/sched.h> include in fusiondev.c)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/linux-fusion/linux-fusion-8.1.1-missing-include.patch')
-rw-r--r-- | package/linux-fusion/linux-fusion-8.1.1-missing-include.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/linux-fusion/linux-fusion-8.1.1-missing-include.patch b/package/linux-fusion/linux-fusion-8.1.1-missing-include.patch new file mode 100644 index 000000000..d7b6f23e0 --- /dev/null +++ b/package/linux-fusion/linux-fusion-8.1.1-missing-include.patch @@ -0,0 +1,17 @@ +fusiondev.c does not compile due to TASK_INTERRUPTIBLE and other +related constants not being defined. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: linux-fusion-8.1.1/linux/drivers/char/fusion/fusiondev.c +=================================================================== +--- linux-fusion-8.1.1.orig/linux/drivers/char/fusion/fusiondev.c 2010-07-16 22:49:23.000000000 +0200 ++++ linux-fusion-8.1.1/linux/drivers/char/fusion/fusiondev.c 2010-07-16 22:49:39.000000000 +0200 +@@ -32,6 +32,7 @@ + #include <linux/proc_fs.h> + #include <linux/poll.h> + #include <linux/init.h> ++#include <linux/sched.h> + #include <asm/io.h> + #include <asm/uaccess.h> + |