Merge "Copy all files from BOARD_SYSTEM_DLKM_SRC"
This commit is contained in:
commit
8ffc90d4e9
1 changed files with 3 additions and 3 deletions
|
@ -599,9 +599,9 @@ $(foreach kmd,$(BOARD_KERNEL_MODULE_DIRS), \
|
||||||
ifeq ($(BOARD_SYSTEM_KERNEL_MODULES),)
|
ifeq ($(BOARD_SYSTEM_KERNEL_MODULES),)
|
||||||
ifneq ($(BOARD_SYSTEM_DLKM_SRC),)
|
ifneq ($(BOARD_SYSTEM_DLKM_SRC),)
|
||||||
ifneq ($(wildcard $(BOARD_SYSTEM_DLKM_SRC)/*),)
|
ifneq ($(wildcard $(BOARD_SYSTEM_DLKM_SRC)/*),)
|
||||||
SYSTEM_KERNEL_MODULES := $(call find-files-in-subdirs,$(BOARD_SYSTEM_DLKM_SRC),*.ko,.)
|
SYSTEM_KERNEL_MODULES := $(shell find $(BOARD_SYSTEM_DLKM_SRC) -type f)
|
||||||
SRC_SYSTEM_KERNEL_MODULES := $(patsubst %,$(BOARD_SYSTEM_DLKM_SRC)/%,$(SYSTEM_KERNEL_MODULES))
|
SRC_SYSTEM_KERNEL_MODULES := $(SYSTEM_KERNEL_MODULES)
|
||||||
DST_SYSTEM_KERNEL_MODULES := $(patsubst %,:$(TARGET_OUT_SYSTEM_DLKM)/%,$(SYSTEM_KERNEL_MODULES))
|
DST_SYSTEM_KERNEL_MODULES := $(patsubst $(BOARD_SYSTEM_DLKM_SRC)/%,:$(TARGET_OUT_SYSTEM_DLKM)/%,$(SRC_SYSTEM_KERNEL_MODULES))
|
||||||
SYSTEM_KERNEL_MODULE_COPY_PAIRS := $(join $(SRC_SYSTEM_KERNEL_MODULES),$(DST_SYSTEM_KERNEL_MODULES))
|
SYSTEM_KERNEL_MODULE_COPY_PAIRS := $(join $(SRC_SYSTEM_KERNEL_MODULES),$(DST_SYSTEM_KERNEL_MODULES))
|
||||||
ALL_DEFAULT_INSTALLED_MODULES += $(call copy-many-files,$(SYSTEM_KERNEL_MODULE_COPY_PAIRS))
|
ALL_DEFAULT_INSTALLED_MODULES += $(call copy-many-files,$(SYSTEM_KERNEL_MODULE_COPY_PAIRS))
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue