summaryrefslogtreecommitdiff
path: root/package/x11r7/mesa3d/mesa3d.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-24 13:29:59 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-24 13:29:59 +0000
commitaf098e8dfe5538b29263fe3c1d2ab7cf475754c4 (patch)
treef1a0014a58a3a35b1379545f411a5b8e30007000 /package/x11r7/mesa3d/mesa3d.mk
parente51884daa8070477aa56e27dd5fe8fcab492770a (diff)
mesa: use correct config file for arch
Diffstat (limited to 'package/x11r7/mesa3d/mesa3d.mk')
-rw-r--r--package/x11r7/mesa3d/mesa3d.mk16
1 files changed, 15 insertions, 1 deletions
diff --git a/package/x11r7/mesa3d/mesa3d.mk b/package/x11r7/mesa3d/mesa3d.mk
index b0d0b1c76..886644084 100644
--- a/package/x11r7/mesa3d/mesa3d.mk
+++ b/package/x11r7/mesa3d/mesa3d.mk
@@ -7,9 +7,23 @@ MESA3D_VERSION:=7.0.3
MESA3D_SOURCE:=MesaLib-$(MESA3D_VERSION).tar.gz
MESA3D_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mesa3d
MESA3D_DIR:=$(BUILD_DIR)/Mesa-$(MESA3D_VERSION)
-MESA_TARGET=linux-dri-x86
+MESA_TARGET:=linux-dri
+
+ifeq ($(BR2_i386),y)
+MESA_TARGET:=linux-dri-x86
+endif
+
+ifeq ($(BR2_x86_64),y)
+MESA_TARGET:=linux-dri-x86-64
+endif
+
+ifeq ($(BR2_ppc),y)
+MESA_TARGET:=linux-dri-ppc
+endif
+
MESA_BUILD_ENV=$(TARGET_CONFIGURE_OPTS)
MESA_CONFIG_FILE=$(MESA3D_DIR)/configs/$(MESA_TARGET)
+
#MESA_DRIVERS= i810 i915 i965 mga mach64 r128 r200 r300 s3v savage sis ffb tdfx trident unichrome
MESA_DRIVERS=