From: Nolen Johnson Date: Tue, 23 Apr 2024 00:01:22 +0000 (-0400) Subject: Allow g12b to opt-out of using this X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e194b9013412fc5e8c377b44e90f219241e8eb6;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_media.git Allow g12b to opt-out of using this Change-Id: Iaceeaeece176c49f6a031e4f3217bed8bff72334 --- 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