From 6f4c8c93b845c8340de908826ae9edc34a139f2a Mon Sep 17 00:00:00 2001 From: SayanAcharya Date: Mon, 22 Mar 2021 16:14:20 +0000 Subject: [PATCH] common: skip sepolicy inclusions for legacy socs Change-Id: I0a3d4dd9fe211060517cd78d74045cd0600b865d --- BoardConfigQcom.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BoardConfigQcom.mk b/BoardConfigQcom.mk index 4c8c477b..ee064ef4 100644 --- a/BoardConfigQcom.mk +++ b/BoardConfigQcom.mk @@ -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