30 else |
30 else |
31 .rt: |
31 .rt: |
32 @echo "Skipping Real-Time." |
32 @echo "Skipping Real-Time." |
33 endif |
33 endif |
34 |
34 |
35 ifeq ($(MAKE_RS232),yes) |
|
36 .rs232dbg: |
|
37 $(MAKE) -C rs232dbg |
|
38 else |
|
39 .rs232dbg: |
|
40 @echo "Skipping rs232dbg." |
|
41 endif |
|
42 |
|
43 .mini: |
35 .mini: |
44 $(MAKE) -C mini |
36 $(MAKE) -C mini |
45 |
37 |
46 config conf $(CONFIG_FILE): |
38 config conf $(CONFIG_FILE): |
47 @echo "# EtherCAT Konfigurationsdatei Kernel 2.6" > $(CONFIG_FILE) |
39 @echo "# EtherCAT Konfigurationsdatei Kernel 2.6" > $(CONFIG_FILE) |
48 @echo >> $(CONFIG_FILE) |
40 @echo >> $(CONFIG_FILE) |
49 @echo "KERNELDIR = /usr/src/linux" >> $(CONFIG_FILE) |
41 @echo "KERNELDIR = /usr/src/linux" >> $(CONFIG_FILE) |
50 @echo "RTAIDIR =" >> $(CONFIG_FILE) |
42 @echo "RTAIDIR =" >> $(CONFIG_FILE) |
51 @echo "RTLIBDIR =" >> $(CONFIG_FILE) |
43 @echo "RTLIBDIR =" >> $(CONFIG_FILE) |
52 @echo >> $(CONFIG_FILE) |
44 @echo >> $(CONFIG_FILE) |
53 @echo "#GCC_SYSTEMDIR = /usr/lib/gcc-lib/i486-suse-linux/3.3/include" >> $(CONFIG_FILE) |
|
54 @echo >> $(CONFIG_FILE) |
|
55 @echo "MAKE_RT = yes" >> $(CONFIG_FILE) |
45 @echo "MAKE_RT = yes" >> $(CONFIG_FILE) |
56 @echo "MAKE_RS232 = yes" >> $(CONFIG_FILE) |
|
57 @echo >> $(CONFIG_FILE) |
46 @echo >> $(CONFIG_FILE) |
58 @echo "$(CONFIG_FILE) erstellt." |
47 @echo "$(CONFIG_FILE) erstellt." |
59 |
48 |
60 clean: |
49 clean: |
61 $(MAKE) -C rt clean |
50 $(MAKE) -C rt clean |
62 $(MAKE) -C drivers clean |
51 $(MAKE) -C drivers clean |
63 $(MAKE) -C rs232dbg clean |
|
64 $(MAKE) -C mini clean |
52 $(MAKE) -C mini clean |
65 |
53 |
66 #---------------------------------------------------------------- |
54 #---------------------------------------------------------------- |