summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-10-13 19:56:15 +0000
committerIan Romanick <idr@us.ibm.com>2004-10-13 19:56:15 +0000
commit447cdd536fe4539b724e8a7024659e3f4cd724d1 (patch)
treeba64cf7c4d3b15dd52fef34f68a38b8057d988af /configs
parentb72ed81818e63a70c1ded2789b9e22ee4c516aae (diff)
Initial support for PowerPC specific code in Mesa and DRI drivers. DRI
drivers built on PowerPC systems should now show things like "PowerPC" or "PowerPC/Altivec" in the GL_RENDERER string. The VMX moniker is used for Altivec/Velocity Engine/VMX SIMD additions. I chose this not because I work for IBM but because it's a LOT shorter to type. :)
Diffstat (limited to 'configs')
-rw-r--r--configs/linux-dri-ppc17
1 files changed, 17 insertions, 0 deletions
diff --git a/configs/linux-dri-ppc b/configs/linux-dri-ppc
new file mode 100644
index 0000000000..5b80feb71f
--- /dev/null
+++ b/configs/linux-dri-ppc
@@ -0,0 +1,17 @@
+# -*-makefile-*-
+# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others
+
+include $(TOP)/configs/linux-dri
+
+CONFIG_NAME = linux-dri-ppc
+
+OPT_FLAGS = -Os -mcpu=603
+PIC_FLAGS = -fPIC
+
+ASM_FLAGS = -DUSE_PPC_ASM -DUSE_VMX_ASM
+ASM_SOURCES = $(PPC_SOURCES)
+
+# Build only the drivers for cards that exist on PowerPC. At some point MGA
+# will be added, but not yet.
+DRI_DIRS = dri_client mach64 r128 r200 radeon tdfx
+