common: opt-out of DLKM script if module install path is not defined

Change-Id: Ia8643c5ba1d77b15309e46b1269d18682b4a287c
This commit is contained in:
Jake Weinstein 2020-10-05 16:49:54 +02:00
parent 18bd9b8039
commit a7cf60681a
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
ifneq ($(KERNEL_MODULES_INSTALL),)
DISABLE_THIS_DLKM := $(strip $(TARGET_KERNEL_DLKM_DISABLE))
ifeq ($(DISABLE_THIS_DLKM),true)
@ -214,3 +216,5 @@ LOCAL_ADDITIONAL_DEPENDENCIES :=
endif
KBUILD_OPTIONS_GKI :=
endif
endif