equal
deleted
inserted
replaced
51 |
51 |
52 #---------------------------------------------------------------- |
52 #---------------------------------------------------------------- |
53 # default section |
53 # default section |
54 #---------------------------------------------------------------- |
54 #---------------------------------------------------------------- |
55 |
55 |
56 ifneq ($(wildcard ethercat.conf),) |
56 ifneq ($(wildcard kernel.conf),) |
57 include ethercat.conf |
57 include kernel.conf |
58 else |
58 else |
59 KERNELDIR = /usr/src/linux |
59 KERNELDIR = /lib/modules/`uname -r`/build |
60 endif |
60 endif |
61 |
61 |
62 modules: |
62 modules: |
63 $(MAKE) -C $(KERNELDIR) M=`pwd` |
63 $(MAKE) -C $(KERNELDIR) M=`pwd` |
64 |
64 |