--- martian-full-20100123/Makefile 2008-07-02 15:42:48.000000000 -0800 +++ martian-full-20100123.new/Makefile 2012-10-08 12:14:33.284275312 -0800 @@ -1,10 +1,10 @@ -KERNEL_DIR:=/lib/modules/$(shell uname -r)/build -SUBLEVEL:=$(shell echo $(KERNEL_DIR) | cut -d. -f3 | cut -d. -f1 | cut -d- -f1) -# support begins at SUBLEVEL 20 -after20:=$(shell if [ "$(SUBLEVEL)" -gt 20 ] ;then echo OK; fi) +#KERNEL_DIR:=/lib/modules/$(shell uname -r)/build +#SUBLEVEL:=$(shell echo $(KERNEL_DIR) | cut -d. -f3 | cut -d. -f1 | cut -d- -f1) +## support begins at SUBLEVEL 20 +#after20:=$(shell if [ "$(SUBLEVEL)" -gt 20 ] ;then echo OK; fi) -ifdef after20 +#ifdef after20 all: $(MAKE) -C kmodule/ modules $(MAKE) -C modem/ all @@ -14,11 +14,11 @@ $(MAKE) -C kmodule/ install $(MAKE) -C modem/ install -else -20less: - @echo "The martian_dev.ko driver and the complementary helper martian_helper are for use with kernels after 2.6.20. Use the martian-20080407.tar.gz for earlier kernels." +#else +#20less: +# @echo "The martian_dev.ko driver and the complementary helper martian_helper are for use with kernels after 2.6.20. Use the martian-20080407.tar.gz for earlier kernels." -endif +#endif clean: $(MAKE) -C kmodule/ clean