blob: e6ce7ca7e52eaad1ad6eae46c3fad594b493cbd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- 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
|