summaryrefslogtreecommitdiff
path: root/BoardConfigCommon.mk
diff options
context:
space:
mode:
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r--BoardConfigCommon.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 2f3be01..87cde99 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -42,10 +42,14 @@ BOARD_VNDK_VERSION := current
BOARD_USES_DRM_HWCOMPOSER := true
BOARD_GPU_DRIVERS := freedreno
TARGET_USES_HWC2 := true
+
+ifeq ($(TARGET_BUILD_MESA),true)
BOARD_MESA3D_USES_MESON_BUILD := true
BOARD_MESA3D_GALLIUM_DRIVERS := freedreno
BOARD_MESA3D_VULKAN_DRIVERS := freedreno
-
+else
+BOARD_USE_CUSTOMIZED_MESA := true
+endif
# WiFi
WPA_SUPPLICANT_VERSION := VER_0_8_X