diff options
author | Jake Weinstein <jake@aospa.co> | 2020-10-05 16:49:54 +0200 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-01-16 08:24:08 +0800 |
commit | 0eacfb1ec7ab3257306303bdb0b5db48db00cb4a (patch) | |
tree | e55e3ed3c650870f2a0f5b03b11845bb57a79b7d | |
parent | 866268fc940c9ee631c4d0cbe7aeaedd93c5ecb4 (diff) |
common: opt-out of DLKM script if module install path is not defined
Change-Id: Ia8643c5ba1d77b15309e46b1269d18682b4a287c
-rw-r--r-- | dlkm/AndroidKernelModule.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dlkm/AndroidKernelModule.mk b/dlkm/AndroidKernelModule.mk index 2d2ddad..225526e 100644 --- a/dlkm/AndroidKernelModule.mk +++ b/dlkm/AndroidKernelModule.mk @@ -1,3 +1,5 @@ +ifneq ($(KERNEL_MODULES_INSTALL),) + # Get the number of CPU cores. This is the number of parallel jobs to be passed to make command. NCORES := $(shell grep -c ^processor /proc/cpuinfo) ifeq ($(NCORES),) @@ -220,3 +222,5 @@ endif KBUILD_OPTIONS := LOCAL_ADDITIONAL_DEPENDENCIES := KBUILD_OPTIONS_GKI := + +endif |