summaryrefslogtreecommitdiff
path: root/configs/linux-dri-ppc
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:44:43 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:44:43 +0100
commit5417f377560f2ccdc018507832978679fb93765c (patch)
treea7f38ba428c5974dc922c9e1b94817504c076ea8 /configs/linux-dri-ppc
parent4bb4cbf829413ce37cb6dcb31c14d1548b6fa765 (diff)
downloadglut-5417f377560f2ccdc018507832978679fb93765c.tar.gz
Add enough of the autoconf/gmake build infrastructure to build glut.
Diffstat (limited to 'configs/linux-dri-ppc')
-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 0000000..a3a3ca8
--- /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
+MESA_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 = mach64 r128 r200 r300 radeon tdfx
+