From: Nolen Johnson Date: Mon, 22 Apr 2024 23:59:57 +0000 (-0400) Subject: Allow g12b to opt-out of using this X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b4ffd419a7c4a04b234e5e76290681bd61faaf5d;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_optee.git Allow g12b to opt-out of using this Change-Id: I551f9d57e4911b0db2c73f2b862f5d52b54357bf --- 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