diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2010-04-30 02:58:49 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-03 09:33:24 +0200 |
commit | 79832827f3e1bb26095a7ad5237d28c89c8b0eb7 (patch) | |
tree | d742e974219c4eb991bc8eb11a6e5b4cd144b3f7 /package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch | |
parent | 58633266d53994737b469fe3205c7e138203a850 (diff) |
linux-fusion: bump to 8.1.1
Also convert to generic package infrastructure
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch')
-rw-r--r-- | package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch b/package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch deleted file mode 100644 index 443ddf322..000000000 --- a/package/linux-fusion/linux-fusion-8.0.2-cross-compile.patch +++ /dev/null @@ -1,100 +0,0 @@ -diff -urN linux-fusion-8.0.2-0rig//linux/drivers/char/fusion/shmpool.c linux-fusion-8.0.2/linux/drivers/char/fusion/shmpool.c ---- linux-fusion-8.0.2-0rig//linux/drivers/char/fusion/shmpool.c 2008-09-29 12:20:44.000000000 +0200 -+++ linux-fusion-8.0.2/linux/drivers/char/fusion/shmpool.c 2009-01-11 17:00:19.000000000 +0100 -@@ -20,6 +20,8 @@ - #include <linux/slab.h> - #include <linux/smp_lock.h> - #include <linux/sched.h> -+#include <asm/page.h> -+#include <linux/mm.h> - - #include <linux/fusion.h> - -@@ -28,8 +30,6 @@ - #include "list.h" - #include "shmpool.h" - -- -- - typedef struct { - FusionLink link; - unsigned long next_base; -diff -urN linux-fusion-8.0.2-0rig//Makefile linux-fusion-8.0.2/Makefile ---- linux-fusion-8.0.2-0rig//Makefile 2008-09-29 12:20:44.000000000 +0200 -+++ linux-fusion-8.0.2/Makefile 2009-01-11 18:07:54.000000000 +0100 -@@ -17,13 +17,15 @@ - - - DESTDIR ?= $(SYSROOT) -- -+HEADERDIR ?= $(SYSROOT) -+# This location is valid for at least 2.6.27.10 -+KERNEL_FUSION_LIB=$(KERNEL_MODLIB)/kernel/drivers/char/fusion - - SUB = linux/drivers/char/fusion - - export CONFIG_FUSION_DEVICE=m - -- -+ARCH=$(ARCH) - ifeq ($(DEBUG),yes) - CPPFLAGS += -DFUSION_DEBUG_SKIRMISH_DEADLOCK - endif -@@ -45,25 +47,41 @@ - ln -s Makefile-2.$(K_PATCHLEVEL) $(SUB)/Makefile - ifeq ($(call check-version,2,6,24),1) - $(MAKE) -C $(KERNEL_BUILD) \ -- KCPPFLAGS="$(CPPFLAGS) -I`pwd`/linux/include" \ -+ ARCH=$(ARCH) \ -+ CC=$(CROSS_COMPILE)gcc \ -+ AS=$(CROSS_COMPILE)as \ -+ KCPPFLAGS="$(CPPFLAGS) \ -+ -I`pwd`/linux/include \ -+ -I$(KERNEL_SOURCE)/include \ -+ -I$(KERNEL_SOURCE)/arch/$(ARCH)/include" \ - SUBDIRS=`pwd`/$(SUB) modules - else - $(MAKE) -C $(KERNEL_BUILD) \ -- CPPFLAGS="$(CPPFLAGS) -D__KERNEL__ -I`pwd`/linux/include -I$(KERNEL_BUILD)/include -I$(KERNEL_SOURCE)/include $(AUTOCONF_H)" \ -+ ARCH=$(ARCH) \ -+ CC=$(CROSS_COMPILE)gcc \ -+ AS=$(CROSS_COMPILE)as \ -+ CPPFLAGS="$(CPPFLAGS) \ -+ -I`pwd`/linux/include \ -+ -I$(KERNEL_BUILD)/include \ -+ -I$(KERNEL_SOURCE)/include \ -+ -I$(KERNEL_SOURCE)/arch/$(ARCH)/include \ -+ $(AUTOCONF_H)" \ - SUBDIRS=`pwd`/$(SUB) modules - endif - --install: all -+#-D__KERNEL__ -+#-DHAVE_LINUX_CONFIG_H \ -+ -+install: all install-header - install -d $(DESTDIR)/usr/include/linux - install -m 644 linux/include/linux/fusion.h $(DESTDIR)/usr/include/linux -- -- install -d $(DESTDIR)$(KERNEL_MODLIB)/drivers/char/fusion -+ install -d $(DESTDIR)$(KERNEL_FUSION_LIB) - - ifeq ($(K_PATCHLEVEL),4) -- install -m 644 $(SUB)/fusion.o $(DESTDIR)$(KERNEL_MODLIB)/drivers/char/fusion -+ install -m 644 $(SUB)/fusion.o $(DESTDIR)$(KERNEL_FUSION_LIB) - rm -f $(DESTDIR)$(KERNEL_MODLIB)/fusion.o - else -- install -m 644 $(SUB)/fusion.ko $(DESTDIR)$(KERNEL_MODLIB)/drivers/char/fusion -+ install -m 644 $(SUB)/fusion.ko $(DESTDIR)$(KERNEL_FUSION_LIB) - rm -f $(DESTDIR)$(KERNEL_MODLIB)/fusion.ko - endif - ifneq ($(strip $(DESTDIR)),) -@@ -72,6 +90,8 @@ - /sbin/depmod -ae $(KERNEL_VERSION) - endif - -+install-header: -+ install -m 644 linux/include/linux/fusion.h $(HEADERDIR)/usr/include/linux - - - clean: |