summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-09-03 09:08:19 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-09-03 09:08:46 -0600
commitab93aa774e2fc09b5f579eb13ce94cf22796902b (patch)
treed34e68d99d42086a67a37bb222175845f6dde3d3 /configs
parent01a76f4fee3dda55447dc93e6198ede105bdaef0 (diff)
Cell: added linux-cell-debug config
linux-cell is now the optimized configuration. Remove some Cell-specific stuff from winsys/xlib/Makefile.
Diffstat (limited to 'configs')
-rw-r--r--configs/linux-cell6
-rw-r--r--configs/linux-cell-debug10
2 files changed, 14 insertions, 2 deletions
diff --git a/configs/linux-cell b/configs/linux-cell
index 1f02e80edb..cdaa17c663 100644
--- a/configs/linux-cell
+++ b/configs/linux-cell
@@ -1,4 +1,4 @@
-# linux-cell
+# linux-cell (non-debug build)
include $(TOP)/configs/default
@@ -13,7 +13,7 @@ CC = ppu32-gcc
CXX = ppu32-g++
HOST_CC = gcc
-OPT_FLAGS = -g
+OPT_FLAGS = -O3
# Cell SDK location
## For SDK 2.1: (plus, remove -DSPU_MAIN_PARAM_LONG_LONG below)
@@ -39,6 +39,8 @@ GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \
-L$(SDK)/lib -m32 -Wl,-m,elf32ppc -R$(SDK)/lib -lspe2
+CELL_SPU_LIB = $(TOP)/src/gallium/drivers/cell/spu/g3d_spu.a
+
### SPU stuff
diff --git a/configs/linux-cell-debug b/configs/linux-cell-debug
new file mode 100644
index 0000000000..ba333bba68
--- /dev/null
+++ b/configs/linux-cell-debug
@@ -0,0 +1,10 @@
+# linux-cell-debug
+
+include $(TOP)/configs/linux-cell
+
+# just override name and OPT_FLAGS here:
+
+CONFIG_NAME = linux-cell-debug
+
+OPT_FLAGS = -g
+