mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 18:40:09 +01:00
Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*
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. Found-by: Tinderbox Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
592ac67626
commit
efd6e81e2b
1 changed files with 4 additions and 1 deletions
|
|
@ -250,7 +250,10 @@ if test "x$INTEL" != "xno" -o "x$RADEON" != "xno"; then
|
|||
|
||||
else
|
||||
if test "x$INTEL" != "xno"; then
|
||||
INTEL=yes
|
||||
case $host_os in
|
||||
i?86-*|x86_64-*) INTEL=yes ;;
|
||||
*) INTEL=no ;;
|
||||
esac
|
||||
fi
|
||||
if test "x$RADEON" != "xno"; then
|
||||
RADEON=yes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue