summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell/ppu/Makefile
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-19 11:14:54 -0700
committerBrian <[email protected]>2008-02-19 11:14:54 -0700
commit3e329ea7e41e8d97de5b5f345ecab0833c8afe70 (patch)
tree2489443562f445b2290d9a9265c4702f1353ed9b /src/gallium/drivers/cell/ppu/Makefile
parentd11993100289c1597dcfc1cfa36cee3cd7eff103 (diff)
gallium: updated cell build
Building on Ian's Cell build fix. Put libcell.a in the gallium/drivers/cell/ directory. General Makefile clean-up, simplification, updated comments.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/Makefile')
-rw-r--r--src/gallium/drivers/cell/ppu/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gallium/drivers/cell/ppu/Makefile b/src/gallium/drivers/cell/ppu/Makefile
index 196ab777f54..3c3f622a2fc 100644
--- a/src/gallium/drivers/cell/ppu/Makefile
+++ b/src/gallium/drivers/cell/ppu/Makefile
@@ -1,6 +1,6 @@
# Gallium3D Cell driver: PPU code
-# This makefile builds the g3dcell.a library which gets pulled into
+# This makefile builds the libcell.a library which gets pulled into
# the main libGL.so library
@@ -8,10 +8,14 @@ TOP = ../../../../..
include $(TOP)/configs/linux-cell
-#PROG = gl4
+# This is the "top-level" cell PPU driver code, will get pulled into libGL.so
+# by the winsys Makefile.
+CELL_LIB = ../libcell.a
-CELL_LIB = libcell.a
+# This is the SPU code. We'd like to be able to put this into the libcell.a
+# archive with the PPU code, but nesting .a libs doesn't seem to work.
+# So, it's pulled into libGL.so in gallium/winsys/xlib/Makefile
SPU_CODE_MODULE = ../spu/g3d_spu.a
@@ -56,7 +60,7 @@ default: $(CELL_LIB)
$(CELL_LIB): $(OBJECTS) $(SPU_CODE_MODULE)
-# ar -ru $(CELL_LIB) $(OBJECTS) $(SPU_CODE_MODULE)
+# ar -ru $(CELL_LIB) $(OBJECTS) $(SPU_CODE_MODULE) # doesn't work
ar -ru $(CELL_LIB) $(OBJECTS)
#$(PROG): $(PPU_OBJECTS)