package/x11r7/xdriver_xf86-video-ati: Fix DRI-related build
PATCH v2 1/1 package/x11r7/xdriver_xf86-video-ati: Fix DRI-related build
Restrict this package to x86 / x86-64 to fix most compile errors.
This package also depends on the radeon driver from libdrm.
This package also depends on DRI support in xserver_xorg-server, to achieve this we select the Radeon mesa3d DRI driver.
Fixes
http://autobuild.buildroot.net/results/4e2/4e212942a50bae8460bd66c2e508e1d827244482/
http://autobuild.buildroot.net/results/de2/de2e2fe4489be30d62fdcb554e537ec2f52efc1e/
http://autobuild.buildroot.net/results/441/441b30b6899cca67b2c70fd3195f4be2c8a037b4/
http://autobuild.buildroot.net/results/d88/d88d2f99bc538ce5a518d83e4807faa908889188/
http://autobuild.buildroot.net/results/6c4/6c4fda4cafa587d5fffb44cd9bd38a32cb2616f3/
http://autobuild.buildroot.net/results/0d2/0d2b131ec425a62f18015cf38914eabd08aa4158/
http://autobuild.buildroot.net/results/a6e/a6e7e7e8abec135885dc482eb49cdae7bb45ebf6/
http://autobuild.buildroot.net/results/42f/42ffff241f58913aa32c1561e04f681bbc9c44fc/
http://autobuild.buildroot.net/results/b0c/b0cdabd7d840698837f1f6816499ff0102624e9b/
---
v2: enable only on x86 / x86-64 (Peter)
select mesa3d radeon driver instead of swrast
package/x11r7/xdriver_xf86-video-ati/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
package/x11r7/xdriver_xf86-video-ati/Config.in +5 -2
@@ -1,8 +1,10 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI bool "xf86-video-ati" + depends on (BR2_i386 || BR2_x86_64) depends on BR2_PACKAGE_MESA3D - select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON - select BR2_PACKAGE_LIBDRM_RADEON if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_LIBDRM_RADEON + select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON select BR2_PACKAGE_XLIB_LIBXCOMPOSITE select BR2_PACKAGE_XPROTO_FONTSPROTO select BR2_PACKAGE_XPROTO_GLPROTO
@@ -16,4 +18,5 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI ATI video driver comment "xf86-video-ati needs mesa3d" + depends on (BR2_i386 || BR2_x86_64) depends on !BR2_PACKAGE_MESA3D
Signature · 1 line
2.5.3
PATCH v2 1/1 package/x11r7/xdriver_xf86-video-ati: Fix DRI-related build
Dear Bernd Kuhls,
Quoted 6 lines · Bernd Kuhls
Restrict this package to x86 / x86-64 to fix most compile errors.
This package also depends on the radeon driver from libdrm.
This package also depends on DRI support in xserver_xorg-server, to achieve this we select the Radeon mesa3d DRI driver.
Are you sure about this? BR2_PACKAGE_LIBDRM_RADEON doesn't depend on x86:
http://git.buildroot.net/buildroot/commit/?id=661139f9180f256389fb8b5bab7b6dc94ae50a0f
And I managed to build xdriver_xf86-video-ati for MIPS architecture successfully, after enabling BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON for all architectures.
Regards,
Vincent.
Quoted 43 lines
Fixes
http://autobuild.buildroot.net/results/4e2/4e212942a50bae8460bd66c2e508e1d827244482/
http://autobuild.buildroot.net/results/de2/de2e2fe4489be30d62fdcb554e537ec2f52efc1e/
http://autobuild.buildroot.net/results/441/441b30b6899cca67b2c70fd3195f4be2c8a037b4/
http://autobuild.buildroot.net/results/d88/d88d2f99bc538ce5a518d83e4807faa908889188/
http://autobuild.buildroot.net/results/6c4/6c4fda4cafa587d5fffb44cd9bd38a32cb2616f3/
http://autobuild.buildroot.net/results/0d2/0d2b131ec425a62f18015cf38914eabd08aa4158/
http://autobuild.buildroot.net/results/a6e/a6e7e7e8abec135885dc482eb49cdae7bb45ebf6/
http://autobuild.buildroot.net/results/42f/42ffff241f58913aa32c1561e04f681bbc9c44fc/
http://autobuild.buildroot.net/results/b0c/b0cdabd7d840698837f1f6816499ff0102624e9b/Signed-off-by Bernd Kuhls <[email protected]>---
v2: enable only on x86 / x86-64 (Peter)
select mesa3d radeon driver instead of swrastpackage/x11r7/xdriver_xf86-video-ati/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)package/x11r7/xdriver_xf86-video-ati/Config.in +5
-2@@ -1,8 +1,10 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI bool "xf86-video-ati" + depends on (BR2_i386 || BR2_x86_64) depends on BR2_PACKAGE_MESA3D - select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON - select BR2_PACKAGE_LIBDRM_RADEON if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_LIBDRM_RADEON + select BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON select BR2_PACKAGE_XLIB_LIBXCOMPOSITE select BR2_PACKAGE_XPROTO_FONTSPROTO select BR2_PACKAGE_XPROTO_GLPROTO@@ -16,4 +18,5 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI ATI video driver comment "xf86-video-ati needs mesa3d" + depends on (BR2_i386 || BR2_x86_64) depends on !BR2_PACKAGE_MESA3D
PATCH v2 1/1 package/x11r7/xdriver_xf86-video-ati: Fix DRI-related build
Am Sun, 27 Sep 2015 12:48:52 +0100 schrieb Vicente Olivert Riera:
Quoted 3 lines
And I managed to build xdriver_xf86-video-ati for MIPS architecture successfully, after enabling
BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEONfor all architectures.
Hi,
it is possible to build the package for various archs, but does it make sense? V2 of my patch picks up a comment by Peter:
http://patchwork.ozlabs.org/patch/512209/
"Is there any realistic use cases for anything besides x86 / x86-64?"
Regards, Bernd
PATCH v2 1/1 package/x11r7/xdriver_xf86-video-ati: Fix DRI-related build
In reply to Bernd KuhlsAm Sun, 27 Sep 2015 12:54:24 +0200 schrieb Bernd Kuhls:
Quoted 1 line
Restrict this package to x86 / x86-64 to fix most compile errors.
Hi,
I closed this patch as superseded by
http://patchwork.ozlabs.org/patch/560031/
http://patchwork.ozlabs.org/patch/560032/
Regards, Bernd