From 1e194b9013412fc5e8c377b44e90f219241e8eb6 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Mon, 22 Apr 2024 20:01:22 -0400 Subject: [PATCH] Allow g12b to opt-out of using this Change-Id: Iaceeaeece176c49f6a031e4f3217bed8bff72334 --- Android.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Android.mk b/Android.mk index e307163..0911819 100644 --- a/Android.mk +++ b/Android.mk @@ -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 -- 2.20.1