equal
deleted
inserted
replaced
30 else |
30 else |
31 |
31 |
32 #------------------------------------------------------------------------------ |
32 #------------------------------------------------------------------------------ |
33 # Default-Abschnitt |
33 # Default-Abschnitt |
34 |
34 |
|
35 ifneq ($(wildcard ethercat.conf),) |
|
36 include ethercat.conf |
|
37 else |
|
38 KERNELDIR = /lib/modules/`uname -r`/build |
|
39 endif |
|
40 |
35 modules: |
41 modules: |
36 $(MAKE) -C .. |
42 $(MAKE) -C $(KERNELDIR) M=`pwd` modules |
37 |
43 |
38 clean: |
44 clean: |
39 $(MAKE) -C .. clean |
45 $(MAKE) -C $(KERNELDIR) M=`pwd` clean |
40 |
46 |
41 #------------------------------------------------------------------------------ |
47 #------------------------------------------------------------------------------ |
42 |
48 |
43 endif |
49 endif |