diff options
author | John Stultz <john.stultz@linaro.org> | 2021-10-06 22:32:11 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2022-02-01 05:12:05 +0000 |
commit | dd29e43154d8553087f7b02bc852f707ff266ebc (patch) | |
tree | 0812c711a1a4fda1520d62df2c6623a674356500 | |
parent | 681b625a35a6eda8d45703a35767f3b8eab44566 (diff) | |
download | dragonboard-dd29e43154d8553087f7b02bc852f707ff266ebc.tar.gz |
dragonboards: Allow use of new mesa/main build
Update the db845c/rb5 build to use the mesa/main build targets
if they are available.
We still keep the libGLES_mesa target, so we can still properly
build with AOSP's mesa branch.
This just allows us to easily test upstream mesa.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Icc8e3fedecb72a458a8419a1fe8bbb326fbe4b87
-rw-r--r-- | BoardConfigCommon.mk | 6 | ||||
-rw-r--r-- | device-common.mk | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 887a6f0..9b19707 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -53,8 +53,12 @@ BOARD_VNDK_VERSION := current # Mesa DRM hwcomposer BOARD_USES_DRM_HWCOMPOSER := true -BOARD_GPU_DRIVERS := freedreno virgl +BOARD_GPU_DRIVERS := freedreno TARGET_USES_HWC2 := true +BOARD_MESA3D_USES_MESON_BUILD := true +BOARD_MESA3D_GALLIUM_DRIVERS := freedreno +BOARD_MESA3D_VULKAN_DRIVERS := freedreno + # WiFi WPA_SUPPLICANT_VERSION := VER_0_8_X diff --git a/device-common.mk b/device-common.mk index 9635f7b..e781d2a 100644 --- a/device-common.mk +++ b/device-common.mk @@ -72,7 +72,12 @@ PRODUCT_PRODUCT_PROPERTIES := \ PRODUCT_PACKAGES += \ android.hardware.drm@1.3-service.clearkey \ android.hardware.drm@1.3-service.widevine \ - libGLES_mesa + libGLES_mesa \ + libEGL_mesa \ + libGLESv1_CM_mesa \ + libGLESv2_mesa \ + libgallium_dri \ + libglapi PRODUCT_PROPERTY_OVERRIDES += \ ro.hardware.gralloc=minigbm_msm \ |