Przeglądaj źródła

video: use DLKM flag instead of QMAA flag to compile driver

Use TARGET_KERNEL_DLKM_DISABLE and TARGET_KERNEL_DLKM_VIDEO_OVERRIDE
to compile video driver.

Change-Id: Id824aac78c4c0ce856ba1c92ab1bda4e679475cc
Signed-off-by: Maheshwar Ajja <[email protected]>
Maheshwar Ajja 3 lat temu
rodzic
commit
76281289b4
3 zmienionych plików z 15 dodań i 12 usunięć
  1. 5 4
      Android.mk
  2. 5 4
      video_kernel_board.mk
  3. 5 4
      video_kernel_product.mk

+ 5 - 4
Android.mk

@@ -1,9 +1,10 @@
 # SPDX-License-Identifier: GPL-2.0-only
 TARGET_VIDC_ENABLE := false
-ifeq ($(TARGET_USES_QMAA),false)
-TARGET_VIDC_ENABLE := true
-endif
-ifeq ($(TARGET_USES_QMAA_OVERRIDE_VIDEO),true)
+ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
+	ifeq ($(TARGET_KERNEL_DLKM_VIDEO_OVERRIDE), true)
+		TARGET_VIDC_ENABLE := true
+	endif
+else
 TARGET_VIDC_ENABLE := true
 endif
 

+ 5 - 4
video_kernel_board.mk

@@ -1,9 +1,10 @@
 # SPDX-License-Identifier: GPL-2.0-only
 TARGET_VIDC_ENABLE := false
-ifeq ($(TARGET_USES_QMAA),false)
-TARGET_VIDC_ENABLE := true
-endif
-ifeq ($(TARGET_USES_QMAA_OVERRIDE_VIDEO),true)
+ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
+	ifeq ($(TARGET_KERNEL_DLKM_VIDEO_OVERRIDE), true)
+		TARGET_VIDC_ENABLE := true
+	endif
+else
 TARGET_VIDC_ENABLE := true
 endif
 

+ 5 - 4
video_kernel_product.mk

@@ -1,9 +1,10 @@
 # SPDX-License-Identifier: GPL-2.0-only
 TARGET_VIDC_ENABLE := false
-ifeq ($(TARGET_USES_QMAA),false)
-TARGET_VIDC_ENABLE := true
-endif
-ifeq ($(TARGET_USES_QMAA_OVERRIDE_VIDEO),true)
+ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
+	ifeq ($(TARGET_KERNEL_DLKM_VIDEO_OVERRIDE), true)
+		TARGET_VIDC_ENABLE := true
+	endif
+else
 TARGET_VIDC_ENABLE := true
 endif