diff --git a/configure.ac b/configure.ac index 9244fc42..7f882092 100644 --- a/configure.ac +++ b/configure.ac @@ -269,21 +269,6 @@ AC_ARG_ENABLE([ccat], AM_CONDITIONAL(ENABLE_CCAT, test "x$enableccat" = "x1") AC_SUBST(ENABLE_CCAT,[$enableccat]) -AC_ARG_WITH([ccat-kernel], - AC_HELP_STRING( - [--with-ccat-kernel=], - [ccat kernel (only if differing)] - ), - [ - kernelccat=[$withval] - ], - [ - kernelccat=$linuxversion - ] -) - -AC_SUBST(KERNEL_CCAT,[$kernelccat]) - #------------------------------------------------------------------------------ # e100 driver #------------------------------------------------------------------------------ diff --git a/devices/ccat/Kbuild.in b/devices/ccat/Kbuild.in index 3b989cb6..28d78deb 100644 --- a/devices/ccat/Kbuild.in +++ b/devices/ccat/Kbuild.in @@ -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 @@ ifeq (@ENABLE_CCAT@,1) 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 := \