diff options
author | John Stultz <john.stultz@linaro.org> | 2022-02-01 06:32:16 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2022-03-04 21:52:33 +0000 |
commit | b1014352f43eff1661f1f170992e8ecabfb7ae36 (patch) | |
tree | c9b46c620c3f858dbc4fe5b25f8a28ee2ff71673 /BoardConfigCommon.mk | |
parent | 0c8fa494b121d4815a463f1c90d6b8b33086d98a (diff) |
dragonboards: Create build option to use prebuilt mesa bits
Enables the build to utilize prebuilt mesa binaries found in the
20220303 linaro-vendor-package.
Also provides a TARGET_BUILD_MESA build option such that
building with the aosp/master or aosp/upstream-main branches of
external/mesa3d are still possible by setting:
TARGET_BUILD_MESA=true
Change-Id: Ibeee5cd578df6e8462427d0f3757007ed30c6148
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r-- | BoardConfigCommon.mk | 6 |
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 |