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