mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-26 03:53:47 +08:00
Better modules_install targets.
This commit is contained in:
+3
-1
@@ -62,6 +62,7 @@ endif
|
||||
|
||||
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 @@ modules:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user