projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'gallium-0.1' into gallium-tex-surfaces
[mesa.git]
/
configs
/
linux-cell
diff --git
a/configs/linux-cell
b/configs/linux-cell
index 46320e797c040be0fe31a816bbb9239503a450a1..a701fa73f19c97e911027d0212252160feb5bc6e 100644
(file)
--- a/
configs/linux-cell
+++ b/
configs/linux-cell
@@
-5,40
+5,50
@@
include $(TOP)/configs/default
CONFIG_NAME = linux-cell
CONFIG_NAME = linux-cell
+GALLIUM_DRIVER_DIRS += cell
+
+
# Compiler and flags
# Compiler and flags
-CC = /usr/bin/ppu32-gcc
-CXX = /usr/bin/ppu32-g++
+CC = ppu32-gcc
+CXX = ppu32-g++
+HOST_CC = gcc
+
+OPT_FLAGS = -g
# Cell SDK location
SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr
# Cell SDK location
SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr
-CFLAGS = -g -W -Winline -fPIC -m32 -mabi=altivec -maltivec -I. -I/usr/include -I$(SDK)/include -DGALLIUM_CELL
+CFLAGS = $(OPT_FLAGS) -Wall -Winline -fPIC -m32 -mabi=altivec -maltivec \
+ -I. -I$(SDK)/include \
+ -DGALLIUM_CELL -DUSE_XSHM
CXXFLAGS = $(CFLAGS)
# Omitting glw here:
CXXFLAGS = $(CFLAGS)
# Omitting glw here:
-SRC_DIRS =
mesa
glu glut/glx
+SRC_DIRS =
gallium mesa gallium/winsys
glu glut/glx
MKDEP_OPTIONS = -fdepend -Y
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \
MKDEP_OPTIONS = -fdepend -Y
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \
- -L$(SDK)/lib -m32 -Wl,-m,elf32ppc -R$(SDK)/lib -lspe
+ -L$(SDK)/lib -m32 -Wl,-m,elf32ppc -R$(SDK)/lib -lspe
2
### SPU stuff
### SPU stuff
-SPU_CC =
/usr/bin/
spu-gcc
+SPU_CC = spu-gcc
-SPU_CFLAGS = -g -W -Wall -Winline -Wno-main -I. -I $(SDK)/spu/include -include spu_intrinsics.h -I $(TOP)/src/mesa/
+SPU_CFLAGS = $(OPT_FLAGS) -W -Wall -Winline -Wmissing-prototypes -Wno-main \
+ -I. -I$(SDK)/spu/include -I$(TOP)/src/mesa/ $(INCLUDE_DIRS) \
+ -include spu_intrinsics.h
SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc
SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc
-SPU_AR =
/usr/bin/
ar
+SPU_AR =
ppu-
ar
SPU_AR_FLAGS = -qcs
SPU_AR_FLAGS = -qcs
-SPU_EMBED =
/usr/bin/
embedspu
+SPU_EMBED =
ppu32-
embedspu
SPU_EMBED_FLAGS = -m32
SPU_EMBED_FLAGS = -m32