Skip to content

Commit cae76d0

Browse files
variants: Just build Mesa3D arm drivers on arm variants
Building exclusive arm drivers is unecessary to x86 platforms, this fixes a build error when x86 can't be build because of etnaviv dependencies and remove unecessary drivers
1 parent 6a0976f commit cae76d0

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

waydroid_arm/BoardConfig.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ TARGET_ARCH_VARIANT := armv7-a-neon
2222
TARGET_CPU_ABI := armeabi-v7a
2323
TARGET_CPU_ABI2 := armeabi
2424
TARGET_CPU_VARIANT := generic
25+
26+
ifneq ($(TARGET_USE_MESA),false)
27+
BOARD_MESA3D_GALLIUM_DRIVERS += freedreno v3d vc4 etnaviv tegra panfrost
28+
BOARD_MESA3D_VULKAN_DRIVERS += broadcom fredreno panfrost
29+
endif

waydroid_arm64/BoardConfig.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ TARGET_2ND_ARCH_VARIANT := armv8-a
2828
TARGET_2ND_CPU_ABI := armeabi-v7a
2929
TARGET_2ND_CPU_ABI2 := armeabi
3030
TARGET_2ND_CPU_VARIANT := generic
31+
32+
ifneq ($(TARGET_USE_MESA),false)
33+
BOARD_MESA3D_GALLIUM_DRIVERS += freedreno v3d vc4 etnaviv tegra panfrost
34+
BOARD_MESA3D_VULKAN_DRIVERS += broadcom fredreno panfrost
35+
endif

waydroid_arm64_only/BoardConfig.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@ TARGET_2ND_CPU_ABI2 :=
3030
TARGET_2ND_CPU_VARIANT :=
3131

3232
AUDIOSERVER_MULTILIB := first
33+
34+
ifneq ($(TARGET_USE_MESA),false)
35+
BOARD_MESA3D_GALLIUM_DRIVERS += freedreno v3d vc4 etnaviv tegra panfrost
36+
BOARD_MESA3D_VULKAN_DRIVERS += broadcom fredreno panfrost
37+
endif

0 commit comments

Comments
 (0)