From 5547a6d04552e8e253ad5e2310e4a2701491127c Mon Sep 17 00:00:00 2001 From: Felix Date: Tue, 28 May 2019 14:05:51 +0200 Subject: [PATCH] sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS BOARD_SEPOLICY_DIRS is deprecated. Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9 Signed-off-by: SamarV-121 --- sepolicy.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sepolicy.mk b/sepolicy.mk index 09305d6..361a46b 100644 --- a/sepolicy.mk +++ b/sepolicy.mk @@ -8,14 +8,14 @@ BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \ BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \ device/samsung_slsi/sepolicy/common/private -BOARD_SEPOLICY_DIRS += \ +BOARD_VENDOR_SEPOLICY_DIRS += \ device/samsung_slsi/sepolicy/common/vendor ifeq ($(BOARD_SEPOLICY_TEE_FLAVOR),teegris) BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \ device/samsung_slsi/sepolicy/tee/teegris/public -BOARD_SEPOLICY_DIRS += \ +BOARD_VENDOR_SEPOLICY_DIRS += \ device/samsung_slsi/sepolicy/tee/teegris/vendor else ifeq ($(BOARD_SEPOLICY_TEE_FLAVOR),mobicore) POLICY_TYPE := legacy @@ -28,9 +28,9 @@ else ifneq ($(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),26),) POLICY_TYPE := treble endif -BOARD_SEPOLICY_DIRS += \ +BOARD_VENDOR_SEPOLICY_DIRS += \ device/samsung_slsi/sepolicy/tee/mobicore/$(POLICY_TYPE) -BOARD_SEPOLICY_DIRS += \ +BOARD_VENDOR_SEPOLICY_DIRS += \ device/samsung_slsi/sepolicy/tee/mobicore/common endif -- 2.20.1