equal
deleted
inserted
replaced
7 #------------------------------------------------------------------------------ |
7 #------------------------------------------------------------------------------ |
8 |
8 |
9 ifneq ($(KERNELRELEASE),) |
9 ifneq ($(KERNELRELEASE),) |
10 |
10 |
11 #------------------------------------------------------------------------------ |
11 #------------------------------------------------------------------------------ |
12 # kbuild section |
12 # kbuild section |
13 |
13 |
14 obj-m := master/ devices/ |
14 obj-m := master/ devices/ |
15 |
15 |
16 #------------------------------------------------------------------------------ |
16 #------------------------------------------------------------------------------ |
17 |
17 |
18 else |
18 else |
19 |
19 |
20 #------------------------------------------------------------------------------ |
20 #------------------------------------------------------------------------------ |
21 # default section |
21 # default section |
22 |
22 |
23 ifneq ($(wildcard ethercat.conf),) |
23 ifneq ($(wildcard ethercat.conf),) |
24 include ethercat.conf |
24 include ethercat.conf |
25 else |
25 else |
26 KERNEL := `uname -r` |
26 KERNEL := `uname -r` |