From: Vitaliy Tomin Date: Sun, 29 May 2022 18:52:00 +0000 (-0400) Subject: Guard for g12a, g12b and sm1 SOCs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=077d1168bbb49e44fbf9865b2c5b7debc96c7332;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_optee.git Guard for g12a, g12b and sm1 SOCs Change-Id: Ic900996019110fe5f05c9865efe04950eac8ae80 --- diff --git a/Android.mk b/Android.mk index b9d3d18..878e807 100644 --- a/Android.mk +++ b/Android.mk @@ -14,6 +14,7 @@ # limitations under the License. # +ifneq ($(filter g12a g12b sm1,$(TARGET_AMLOGIC_SOC)),) LOCAL_PATH := $(call my-dir) ifeq ($(TARGET_PREBUILT_KERNEL),) @@ -43,3 +44,4 @@ $(_optee_ko): $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/$(BOARD_KERNEL_IMAGE_NAME) include $(BUILD_SYSTEM)/base_rules.mk endif +endif