Allow g12b to opt-out of using this
authorNolen Johnson <johnsonnolen@gmail.com>
Tue, 23 Apr 2024 00:01:22 +0000 (20:01 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 23 Apr 2024 00:01:22 +0000 (20:01 -0400)
Change-Id: Iaceeaeece176c49f6a031e4f3217bed8bff72334

Android.mk

index e3071634bc7f7c43d6b7e5b9b982d76a15b2bd20..0911819e613272bb992542e669ceb5c1399f3911 100644 (file)
@@ -15,6 +15,7 @@
 #
 
 ifneq ($(filter g12a g12b sm1,$(TARGET_AMLOGIC_SOC)),)
+ifneq ($(TARGET_USES_P_MODULES),true)
 LOCAL_PATH := $(call my-dir)
 
 ifeq ($(TARGET_PREBUILT_KERNEL),)
@@ -68,3 +69,4 @@ $(_media_ko): $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/$(BOARD_KERNEL_IMAGE_NAME)
 include $(BUILD_SYSTEM)/base_rules.mk
 endif
 endif
+endif