common: Separate vndr for 6.1 and vndr-legacy repository

Change-Id: Iab13e6b84420e51cfaf37bf8e36eac8f9ca0f04f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
chrisl7 2024-08-11 15:30:33 +00:00
parent 46a2e5ead4
commit d2270132c4
1 changed files with 3 additions and 1 deletions

View File

@ -29,8 +29,10 @@ TARGET_MOUNT_POINTS_SYMLINKS ?= false
# SEPolicy
ifneq ($(TARGET_EXCLUDE_QCOM_SEPOLICY),true)
ifneq ($(call is-board-platform-in-list, msm8937 msm8953 msm8998 sdm660),true)
ifeq ($(call is-board-platform-in-list,$(6_1_FAMILY)),true)
include device/qcom/sepolicy_vndr/SEPolicy.mk
else ifneq ($(call is-board-platform-in-list, msm8937 msm8953 msm8998 sdm660),true)
include device/qcom/sepolicy_vndr-legacy/SEPolicy.mk
else # if (8937 || 8953 || 8998 || 660)
include device/qcom/sepolicy/SEPolicy.mk
endif # !(8937 || 8953 || 8998 || 660)