mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
cci_intf: Kbuild: Fix kernel version check
Change-Id: Ifb4abc6b2d1609546ebeef2c7498d5aa22bf5341 Signed-off-by: Ravi Vembu <raviv@motorola.com> Mot-CRs-Fixed: (CR) Reviewed-on: https://gerrit.mot.com/1411653 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Submit-Approved: Jira Key
This commit is contained in:
parent
bf7f61e0de
commit
30c1fc9a33
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
ifeq ($(TARGET_KERNEL_VERSION),$(filter $(TARGET_KERNEL_VERSION),4.19))
|
||||
HAVE_KERNEL_419 = $(shell test -d $(TOP)/kernel/msm-4.19 && echo 1)
|
||||
|
||||
ifeq ($(HAVE_KERNEL_419),1)
|
||||
KERNEL_SOURCE_PATH ?= kernel/msm-4.19
|
||||
else
|
||||
KERNEL_SOURCE_PATH ?= kernel/msm-4.9
|
||||
|
|
|
|||
Loading…
Reference in a new issue