Guard for g12a, g12b and sm1 SOCs
authorVitaliy Tomin <highwaystar.ru@gmail.com>
Fri, 27 May 2022 17:51:46 +0000 (01:51 +0800)
committerNolen Johnson <johnsonnolen@gmail.com>
Fri, 2 Dec 2022 23:09:14 +0000 (18:09 -0500)
Change-Id: Ic900996019110fe5f05c9865efe04950eac8ae80

Android.mk

index ca3f2cbf8974fffce5e350616199056e9a732b8a..52fcde8ddacbb967074e677afb968b1c4085a3de 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),)
@@ -66,3 +67,4 @@ $(_media_ko): $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/$(BOARD_KERNEL_IMAGE_NAME)
 
 include $(BUILD_SYSTEM)/base_rules.mk
 endif
+endif