From af098e8dfe5538b29263fe3c1d2ab7cf475754c4 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 24 Feb 2009 13:29:59 +0000 Subject: [PATCH] mesa: use correct config file for arch --- package/x11r7/mesa3d/mesa3d.mk | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/package/x11r7/mesa3d/mesa3d.mk b/package/x11r7/mesa3d/mesa3d.mk index b0d0b1c760..8866440841 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= -- 2.30.2