equal
deleted
inserted
replaced
24 |
24 |
25 ifneq ($(wildcard ethercat.conf),) |
25 ifneq ($(wildcard ethercat.conf),) |
26 include ethercat.conf |
26 include ethercat.conf |
27 else |
27 else |
28 KERNELDIR := /usr/src/linux |
28 KERNELDIR := /usr/src/linux |
|
29 INSTALLDIR := /opt/ethercat |
29 endif |
30 endif |
30 |
31 |
31 modules: |
32 modules: |
32 $(MAKE) -C $(KERNELDIR) M=`pwd` |
33 $(MAKE) -C $(KERNELDIR) M=`pwd` |
33 |
34 |
34 clean: |
35 clean: |
35 $(MAKE) -C $(KERNELDIR) M=`pwd` clean |
36 $(MAKE) -C $(KERNELDIR) M=`pwd` clean |
36 |
37 |
|
38 install: |
|
39 @./install.sh $(INSTALLDIR) |
|
40 |
37 #------------------------------------------------------------------------------ |
41 #------------------------------------------------------------------------------ |
38 |
42 |
39 endif |
43 endif |