[zaptel-commits] tzafrir: branch 1.2 r2128 -
/branches/1.2/Makefile.kernel26
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Thu Feb 8 11:13:42 MST 2007
Author: tzafrir
Date: Thu Feb 8 12:13:41 2007
New Revision: 2128
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2128
Log:
Build xpp as of kernel version 2.6.8, not 2.6.9.
Modified:
branches/1.2/Makefile.kernel26
Modified: branches/1.2/Makefile.kernel26
URL: http://svn.digium.com/view/zaptel/branches/1.2/Makefile.kernel26?view=diff&rev=2128&r1=2127&r2=2128
==============================================================================
--- branches/1.2/Makefile.kernel26 (original)
+++ branches/1.2/Makefile.kernel26 Thu Feb 8 12:13:41 2007
@@ -1,15 +1,16 @@
obj-m := $(MODULESO)
obj-m += wct4xxp/ wctc4xxp/
-# Also build xpp in the subdirectory xpp/ . But only for >=2.6.9 and only
-# for i386 or x86_64. On other archs the module will probably build but panic.
-
-ifneq (,$(shell [ 0$(SUBLEVEL) -ge 9 ] && [ "$(ARCH)" = 'i386' ] && echo 1))
+# Also build xpp in the subdirectory xpp/ . But only for >=2.6.8 and only
+# for i386 or x86_64. On other platforms it has still not been tested well
+# enough.
+ifneq (,$(shell [ 0$(SUBLEVEL) -ge 8 ] && echo 1))
+ifeq ($(ARCH),i386)
obj-m+=xpp/
endif
-
-ifneq (,$(shell [ 0$(SUBLEVEL) -ge 9 ] && [ "$(ARCH)" = 'x86_64' ] && echo 1))
+ifeq ($(ARCH),x86_64)
obj-m+=xpp/
+endif
endif
EXTRA_CFLAGS := -I$(src)
More information about the zaptel-commits
mailing list