Guard for g12a, g12b and sm1 SOCs lineage-19.1 staging/lineage-20
authorVitaliy Tomin <highwaystar.ru@gmail.com>
Sun, 29 May 2022 18:52:00 +0000 (14:52 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 29 May 2022 18:52:00 +0000 (14:52 -0400)
Change-Id: Ic900996019110fe5f05c9865efe04950eac8ae80

Android.mk

index b9d3d18f94e7e97ede5bb4f3d7b9c502fbd1219e..878e8077ef8b6591b311883eec4a1fe1d921257a 100644 (file)
@@ -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