summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2018-04-28 19:28:00 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-01 22:55:54 +0200
commit89ebee18b854b573546886b150a8a94c12bc0f75 (patch)
treee2cce4520e4da3a518e8fd68f3df16747e2c18b7
parentf0588cea023c56f5adeec04b2fbe6ee3dea80245 (diff)
downloadbuildroot-89ebee18b854b573546886b150a8a94c12bc0f75.tar.gz
buildroot-89ebee18b854b573546886b150a8a94c12bc0f75.zip
package/mesa3d: radeonSI: specify drm platform
When BR2_PACKAGE_MESA3D_OPENGL_EGL is selected with RadeonSI drvier, mesa platform must be specified with drm. Fixes: hecking for RADEON... yes checking for AMDGPU... yes configure: error: radeonsi requires one of these: 1) --with-platforms=drm (X, Wayland, offscreen rendering based on DRM) 2) --with-platforms=surfaceless (offscreen only) 3) --with-platforms=android (Android only) Recommended options: drm,x11 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/mesa3d/mesa3d.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index cabffb11fb..c882a229be 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -167,6 +167,8 @@ else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV),y)
MESA3D_PLATFORMS = drm
else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL),y)
MESA3D_PLATFORMS = drm
+else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI),y)
+MESA3D_PLATFORMS = drm
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
MESA3D_DEPENDENCIES += wayland wayland-protocols
OpenPOWER on IntegriCloud