equal
deleted
inserted
replaced
11 ifneq ($(KERNELRELEASE),) |
11 ifneq ($(KERNELRELEASE),) |
12 |
12 |
13 #------------------------------------------------------------------------------ |
13 #------------------------------------------------------------------------------ |
14 # Kbuild-Abschnitt |
14 # Kbuild-Abschnitt |
15 |
15 |
16 obj-m := master/ devices/ rt/ mini/ |
16 obj-m := master/ devices/ |
17 |
17 |
18 #------------------------------------------------------------------------------ |
18 #------------------------------------------------------------------------------ |
19 |
19 |
20 else |
20 else |
21 |
21 |
22 #------------------------------------------------------------------------------ |
22 #------------------------------------------------------------------------------ |
23 # Default-Abschnitt |
23 # Default-Abschnitt |
24 |
24 |
|
25 ifneq ($(wildcard ethercat.conf),) |
25 include ethercat.conf |
26 include ethercat.conf |
|
27 else |
|
28 KERNELDIR := /usr/src/linux |
|
29 endif |
26 |
30 |
27 modules: |
31 modules: |
28 $(MAKE) -C $(KERNELDIR) M=`pwd` |
32 $(MAKE) -C $(KERNELDIR) M=`pwd` |
29 |
33 |
30 clean: |
34 clean: |