[PATCH] removed slusb compilation on kernel 2.6.25

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
Now, it's possible to compile just slamr.ko module on kernel 2.6.25.This avoids the compilation error of slusb.ko on kernel 2.6.25. TheMakefile excludes kernel 2.6.25, but we need to exclude kernel greaterthan or equal 2.6.25. I don't have enough knowledge to construct thisusing Makefiles in a smart way.
--- slmodem-2.9.11-20080417/drivers/Makefile    2008-04-1723:56:46.000000000 -0300+++ slmodem-2.9.11-20080417-mod/drivers/Makefile        2008-05-1319:43:24.000000000 -0300@@ -23,9 +23,10 @@ EXTRA_CFLAGS = -I$(obj) -I$(obj)/../mode ARCH64:=$(shell uname -m | sed -e '/amd64/s//x86_64/' | grep -c x86_64)
 ifeq ($(ARCH64), 0)-obj-m:= slamr.o slusb.o-else-obj-m:= slusb.o+obj-m:= slamr.o+endif+ifneq ($(findstring 2.6.25, $(KERNEL_VER)),2.6.25)+obj-m+= slusb.o endif
 slamr-objs:= amrmo_init.o sysdep_amr.o amrlibs.o

-- ----------------------------------------------Gustavo Fernando PadovanEngenharia de Computação 2006LAS - Laboratório de Administração e Segurança de SistemasInstituto de Computação - UNICAMP
gfpadovan@xxxxxxxxxxxxxxxxx@students.ic.unicamp.brpao@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Seja Livre, use Software Livre

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux