--- a/Makefile Mon Jun 26 11:28:24 2006 +0000
+++ b/Makefile Mon Jun 26 14:20:36 2006 +0000
@@ -1,7 +1,7 @@
#------------------------------------------------------------------------------
#
# Makefile
-#
+#
# IgH EtherCAT master
#
# $Id$
@@ -55,6 +55,7 @@
KERNEL_DIR := /lib/modules/$(KERNEL)/build
CURRENT_DIR := $(shell pwd)
+INSTALL_MOD_DIR := ethercat
modules:
$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) modules
@@ -63,8 +64,8 @@
@script/install.sh $(KERNEL)
modules_install:
- $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR)/master modules_install
- $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR)/devices modules_install
+ $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) \
+ INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) modules_install
clean: cleandoc
$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean