gs201: support splitting modules between system/vendor_dlkm am: 1382fe78e0
am: 84af00ccc0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23507610 Change-Id: I47e9fd45e0a8433e87828ec05779306e76c14301 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
29504c51ae
1 changed files with 8 additions and 0 deletions
|
@ -411,7 +411,15 @@ BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(KERNEL_MODULE_DIR)/ven
|
||||||
ifndef BOARD_VENDOR_KERNEL_MODULES_LOAD
|
ifndef BOARD_VENDOR_KERNEL_MODULES_LOAD
|
||||||
$(error vendor_dlkm.modules.load not found or empty)
|
$(error vendor_dlkm.modules.load not found or empty)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# staging kernels might have modules split between system/vendor_dlkm. If
|
||||||
|
# the target defined modules on the system_dlkm image, honor the split.
|
||||||
|
# Otherwise, assume all modules are stored on the vendor_dlkm image.
|
||||||
|
ifneq ($(BOARD_SYSTEM_KERNEL_MODULES),)
|
||||||
|
BOARD_VENDOR_KERNEL_MODULES := $(addprefix $(KERNEL_MODULE_DIR)/, $(notdir $(BOARD_VENDOR_KERNEL_MODULES_LOAD)))
|
||||||
|
else
|
||||||
BOARD_VENDOR_KERNEL_MODULES := $(KERNEL_MODULES)
|
BOARD_VENDOR_KERNEL_MODULES := $(KERNEL_MODULES)
|
||||||
|
endif
|
||||||
|
|
||||||
# Using BUILD_COPY_HEADERS
|
# Using BUILD_COPY_HEADERS
|
||||||
BUILD_BROKEN_USES_BUILD_COPY_HEADERS := true
|
BUILD_BROKEN_USES_BUILD_COPY_HEADERS := true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue