forked from amescon/raspicomm-module
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
71 lines (54 loc) · 2.56 KB
/
Makefile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
obj-m += raspicommrs485.o
raspicommrs485-objs := module.o queue.o
SRC = /home/mdk/raspicomm-module
LINUX_3_2_27 = /home/mdk/rpi/linux-rpi-3.2.27/
LINUX_3_6_11 = /home/mdk/rpi/linux-rpi-3.6.y/
LINUX_3_6_11_538 = /home/mdk/rpi/linux-rpi-3.6.y-538/
LINUX_3_10_19_600 = /home/mdk/rpi/linux-rpi-3.10.y/
LINUX_3_10_24_614 = /home/mdk/rpi/linux-rpi-3.10.24+614/
LINUX_3_10_25_622 = /home/mdk/rpi/linux-rpi-3.10.25+622/
LINUX_3_10_38_675 = /home/mdk/rpi/linux-rpi-3.10.38+675/
LINUX_3_12_22_691 = /home/mdk/rpi/linux-rpi-3.12.22+691/
LINUX_3_18_7_755 = /home/mdk/rpi/linux-rpi-3.18.7+755/
LINUX_3_18_7_V7_755 = /home/mdk/rpi/linux-rpi-3.18.7-v7+755/
LINUX_3_18_11_781 = /home/mdk/rpi/linux-rpi-3.18.11+781/
LINUX_3_18_11_V7_781 = /home/mdk/rpi/linux-rpi-3.18.11-v7+781/
PREFIX = /home/mdk/rpi/tools-master/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-
all:
$(MAKE) ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_2_27) M=$(SRC) modules
3.2.27+:
$(MAKE) ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_2_27) M=$(SRC) modules
3.6.11+:
$(MAKE) ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_6_11) M=$(SRC) modules
3.6.11+538:
$(MAKE) ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_6_11_538) M=$(SRC) modules
3.10.19+600:
$(MAKE) ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_10_19_600) M=$(SRC) modules
3.10.24+614:
$(MAKE) ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_10_24_614) M=$(SRC) modules
3.10.25+622:
$(MAKE) ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_10_25_622) M=$(SRC) modules
3.10.38+675:
$(MAKE) ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_10_38_675) M=$(SRC) modules
3.12.22+691:
$(MAKE) ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_12_22_691) M=$(SRC) modules
3.18.7+755:
make ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_18_7_755) M=$(SRC) modules
3.18.7-v7+755:
make ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_18_7_V7_755) M=$(SRC) modules
3.18.11+781:
make ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_18_11_781) M=$(SRC) modules
3.18.11-v7+781:
make ARCH=arm CROSS_COMPILE=$(PREFIX) -C $(LINUX_3_18_11_V7_781) M=$(SRC) modules
clean:
$(MAKE) -C $(LINUX_3_2_27) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_6_11) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_6_11_538) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_10_19_600) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_10_24_614) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_10_25_622) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_10_38_675) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_12_22_691) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_18_7_755) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_18_7_V7_755) M=$(SRC) clean
$(MAKE) -C $(LINUX_3_18_11_781) M=$(SRC) clean