common: skip sepolicy inclusions for legacy socs

Change-Id: I0a3d4dd9fe211060517cd78d74045cd0600b865d
This commit is contained in:
SayanAcharya 2021-03-22 16:14:20 +00:00 committed by Tobias Merkel
parent 2f86dc249e
commit 6f4c8c93b8
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,7 @@ endif
TARGET_MOUNT_POINTS_SYMLINKS ?= false
# SEPolicy
ifneq ($(call is-board-platform-in-list, msm8937 msm8953 msm8996 msm8998 qcs605 sdm660),true)
ifneq ($(TARGET_EXCLUDE_QCOM_SEPOLICY),true)
ifneq ($(BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE),)
include device/qcom/sepolicy_vndr/SEPolicy.mk
@ -40,3 +41,6 @@ else
include device/qcom/sepolicy/SEPolicy.mk
endif
endif # Exclude QCOM SEPolicy
else
include device/qcom/sepolicy-legacy/SEPolicy.mk
endif