From 9b49628cc28cd46a02fba43671825a12b1417752 Mon Sep 17 00:00:00 2001 From: RomanDesigner Date: Mon, 6 Jan 2020 14:51:48 +0300 Subject: [PATCH] msm8226-common: Add sepolicy type flag --- BoardConfigCommon.mk | 1 + sepolicy/sepolicy.mk | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 551d893..2d5d439 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -97,6 +97,7 @@ DEVICE_MATRIX_FILE := device/samsung/msm8226-common/compatibility_matrix.xml TARGET_KEYMASTER_SKIP_WAITING_FOR_QSEE := true # SELinux +CONFIG_NEO_MSM_SEPOLICY_TYPE := temporary include device/samsung/msm8226-common/sepolicy/sepolicy.mk # Partitions diff --git a/sepolicy/sepolicy.mk b/sepolicy/sepolicy.mk index 6185c71..edb8b58 100644 --- a/sepolicy/sepolicy.mk +++ b/sepolicy/sepolicy.mk @@ -14,8 +14,8 @@ # limitations under the License. # +ifeq($(CONFIG_NEO_MSM_SEPOLICY_TYPE), common) include device/qcom/sepolicy-legacy/sepolicy.mk - -# Board specific SELinux policy variable definitions BOARD_SEPOLICY_DIRS += \ device/samsung/msm8226-common/sepolicy/common +endif