[PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

Eric Anholt eric at anholt.net
Tue Jan 31 08:59:04 PST 2012


On Mon, 30 Jan 2012 15:25:20 -0800, Jeremy Huddleston <jeremyhu at freedesktop.org> wrote:
> This fixes a failure in 'make check' found by the tinderbox when trying to
> build this code on Linux/ppc.  This code is only designed to run on
> Intel platforms, so don't even bother building it if we're not in that set.

Looks reasonable to me, except it should probably be checking $target_os
(cross-compile target) rather than $host_os (cross compile build host).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120131/f3b9dc7d/attachment.pgp>


More information about the dri-devel mailing list