equal
deleted
inserted
replaced
60 KERNEL := $(shell uname -r) |
60 KERNEL := $(shell uname -r) |
61 endif |
61 endif |
62 |
62 |
63 KERNEL_DIR := /lib/modules/$(KERNEL)/build |
63 KERNEL_DIR := /lib/modules/$(KERNEL)/build |
64 CURRENT_DIR := $(shell pwd) |
64 CURRENT_DIR := $(shell pwd) |
|
65 INSTALL_MOD_DIR := ethercat/master |
65 |
66 |
66 modules: |
67 modules: |
67 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) modules |
68 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) modules |
68 |
69 |
69 install: modules_install |
70 install: modules_install |
70 |
71 |
71 modules_install: |
72 modules_install: |
72 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) modules_install |
73 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) \ |
|
74 INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) modules_install |
73 |
75 |
74 clean: |
76 clean: |
75 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean |
77 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean |
76 |
78 |
77 #------------------------------------------------------------------------------ |
79 #------------------------------------------------------------------------------ |