--- a/master/Makefile Mon Jun 26 11:28:24 2006 +0000
+++ b/master/Makefile Mon Jun 26 14:20:36 2006 +0000
@@ -62,6 +62,7 @@
KERNEL_DIR := /lib/modules/$(KERNEL)/build
CURRENT_DIR := $(shell pwd)
+INSTALL_MOD_DIR := ethercat/master
modules:
$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) modules
@@ -69,7 +70,8 @@
install: modules_install
modules_install:
- $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) modules_install
+ $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) \
+ INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) modules_install
clean:
$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean