--- a/Makefile Tue Jun 06 11:59:52 2006 +0000
+++ b/Makefile Mon Jun 12 14:37:38 2006 +0000
@@ -1,6 +1,8 @@
#------------------------------------------------------------------------------
#
-# EtherCAT Makefile
+# Makefile
+#
+# IgH EtherCAT master
#
# $Id$
#
@@ -55,7 +57,14 @@
CURRENT_DIR := $(shell pwd)
modules:
- $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR)
+ $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) modules
+
+install: modules_install
+ @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
clean: cleandoc
$(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean
@@ -66,9 +75,6 @@
cleandoc:
@rm -rf doc
-install:
- @script/install.sh $(KERNEL)
-
#------------------------------------------------------------------------------
endif