kernel: Set kernel build outdir prefix for depmod too
I missed these in the absolute path killing Change-Id: Ibd63c36b9bafe264c7e05672838e5e0186ac5314
This commit is contained in:
parent
c648519530
commit
6802b723a9
1 changed files with 4 additions and 4 deletions
|
@ -148,18 +148,18 @@ ifeq ($(FULL_KERNEL_BUILD),true)
|
|||
|
||||
ifeq ($(NEED_KERNEL_MODULE_ROOT),true)
|
||||
KERNEL_MODULES_OUT := $(TARGET_ROOT_OUT)
|
||||
KERNEL_DEPMOD_STAGING_DIR := $(call intermediates-dir-for,PACKAGING,depmod_recovery)
|
||||
KERNEL_DEPMOD_STAGING_DIR := $(KERNEL_BUILD_OUT_PREFIX)$(call intermediates-dir-for,PACKAGING,depmod_recovery)
|
||||
KERNEL_MODULE_MOUNTPOINT :=
|
||||
else ifeq ($(NEED_KERNEL_MODULE_SYSTEM),true)
|
||||
KERNEL_MODULES_OUT := $(TARGET_OUT)
|
||||
KERNEL_DEPMOD_STAGING_DIR := $(call intermediates-dir-for,PACKAGING,depmod_system)
|
||||
KERNEL_DEPMOD_STAGING_DIR := $(KERNEL_BUILD_OUT_PREFIX)$(call intermediates-dir-for,PACKAGING,depmod_system)
|
||||
KERNEL_MODULE_MOUNTPOINT := system
|
||||
else
|
||||
KERNEL_MODULES_OUT := $(TARGET_OUT_VENDOR)
|
||||
KERNEL_DEPMOD_STAGING_DIR := $(call intermediates-dir-for,PACKAGING,depmod_vendor)
|
||||
KERNEL_DEPMOD_STAGING_DIR := $(KERNEL_BUILD_OUT_PREFIX)$(call intermediates-dir-for,PACKAGING,depmod_vendor)
|
||||
KERNEL_MODULE_MOUNTPOINT := vendor
|
||||
endif
|
||||
MODULES_INTERMEDIATES := $(call intermediates-dir-for,PACKAGING,kernel_modules)
|
||||
MODULES_INTERMEDIATES := $(KERNEL_BUILD_OUT_PREFIX)$(call intermediates-dir-for,PACKAGING,kernel_modules)
|
||||
|
||||
ifeq ($(TARGET_KERNEL_CLANG_COMPILE),true)
|
||||
ifneq ($(TARGET_KERNEL_CLANG_VERSION),)
|
||||
|
|
Loading…
Reference in a new issue