From b4ffd419a7c4a04b234e5e76290681bd61faaf5d Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Mon, 22 Apr 2024 19:59:57 -0400 Subject: [PATCH] Allow g12b to opt-out of using this Change-Id: I551f9d57e4911b0db2c73f2b862f5d52b54357bf --- Android.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Android.mk b/Android.mk index 67f112c..49d71dd 100644 --- a/Android.mk +++ b/Android.mk @@ -15,6 +15,7 @@ # ifneq ($(filter g12a g12b sm1 s4 sc2 t7,$(TARGET_AMLOGIC_SOC)),) +ifneq ($(TARGET_USES_P_MODULES),true) LOCAL_PATH := $(call my-dir) ifeq ($(TARGET_PREBUILT_KERNEL),) @@ -45,3 +46,4 @@ $(_optee_ko): $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/$(BOARD_KERNEL_IMAGE_NAME) include $(BUILD_SYSTEM)/base_rules.mk endif endif +endif -- 2.20.1