Removed unused CCAT kernel version. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Fri, 25 Apr 2014 17:04:43 +0200
branchstable-1.5
changeset 2557 ded6d50de4a7
parent 2556 674fcdccc0f3
child 2558 4e17a99a6bb4
Removed unused CCAT kernel version.
configure.ac
devices/ccat/Kbuild.in
--- a/configure.ac	Fri Apr 25 16:42:36 2014 +0200
+++ b/configure.ac	Fri Apr 25 17:04:43 2014 +0200
@@ -269,21 +269,6 @@
 AM_CONDITIONAL(ENABLE_CCAT, test "x$enableccat" = "x1")
 AC_SUBST(ENABLE_CCAT,[$enableccat])
 
-AC_ARG_WITH([ccat-kernel],
-    AC_HELP_STRING(
-        [--with-ccat-kernel=<X.Y.Z>],
-        [ccat kernel (only if differing)]
-    ),
-    [
-        kernelccat=[$withval]
-    ],
-    [
-        kernelccat=$linuxversion
-    ]
-)
-
-AC_SUBST(KERNEL_CCAT,[$kernelccat])
-
 #------------------------------------------------------------------------------
 # e100 driver
 #------------------------------------------------------------------------------
--- a/devices/ccat/Kbuild.in	Fri Apr 25 16:42:36 2014 +0200
+++ b/devices/ccat/Kbuild.in	Fri Apr 25 17:04:43 2014 +0200
@@ -33,12 +33,6 @@
 
 TOPDIR := $(src)/../..
 
-REV := $(shell if test -s $(TOPDIR)/revision; then \
-		cat $(TOPDIR)/revision; \
-	else \
-		hg id -i $(TOPDIR) 2>/dev/null || echo "unknown"; \
-	fi)
-
 ifeq (@ENABLE_CCAT@,1)
 	EC_CCAT_OBJ := \
 		module.o \
@@ -47,7 +41,7 @@
 		update.o
 	obj-m += ec_ccat.o
 	ec_ccat-objs := $(EC_CCAT_OBJ)
-	CFLAGS_ccat_main-@KERNEL_CCAT@-ethercat.o = -DREV=$(REV)
+	CFLAGS_ccat_main-ethercat.o = -DREV=$(REV)
 endif
 
 KBUILD_EXTRA_SYMBOLS := \