equal
deleted
inserted
replaced
22 else |
22 else |
23 |
23 |
24 #---------------------------------------------------------------- |
24 #---------------------------------------------------------------- |
25 # Default-Abschnitt |
25 # Default-Abschnitt |
26 |
26 |
|
27 ifneq ($(wildcard ethercat.conf),) |
|
28 include ethercat.conf |
|
29 else |
|
30 KERNELDIR = /lib/modules/`uname -r`/build |
|
31 endif |
|
32 |
27 modules: |
33 modules: |
28 $(MAKE) -C .. |
34 $(MAKE) -C $(KERNELDIR) M=`pwd` modules |
29 |
35 |
30 clean: |
36 clean: |
31 $(MAKE) -C .. clean |
37 $(MAKE) -C $(KERNELDIR) M=`pwd` clean |
32 |
38 |
33 #---------------------------------------------------------------- |
39 #---------------------------------------------------------------- |
34 |
40 |
35 endif |
41 endif |