projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cell: build identity driver too
[mesa.git]
/
configs
/
linux-cell
diff --git
a/configs/linux-cell
b/configs/linux-cell
index 229ac73d6deca0a0228a6547a83e753218b4e54d..0908dba9e05660b0f9e6c20a1a25c1b4d0de78c7 100644
(file)
--- a/
configs/linux-cell
+++ b/
configs/linux-cell
@@
-6,7
+6,7
@@
CONFIG_NAME = linux-cell
# Omiting other gallium drivers:
# Omiting other gallium drivers:
-GALLIUM_DRIVERS_DIRS = cell softpipe trace
+GALLIUM_DRIVERS_DIRS = cell softpipe trace
identity
# Compiler and flags
# Compiler and flags
@@
-25,15
+25,19
@@
OPT_FLAGS = -O3
SDK = /opt/cell/sdk/usr
SDK = /opt/cell/sdk/usr
-CFLAGS = $(OPT_FLAGS) -mcpu=cell -Wall -Winline -Wmissing-prototypes \
- -fPIC -m32 -std=c99 -mabi=altivec -maltivec \
+
+COMMON_C_CPP_FLAGS = $(OPT_FLAGS) -Wall -Winline \
+ -fPIC -m32 -mabi=altivec -maltivec \
-I. -I$(SDK)/include \
-DGALLIUM_CELL $(DEFINES)
-I. -I$(SDK)/include \
-DGALLIUM_CELL $(DEFINES)
-CXXFLAGS = $(CFLAGS)
+CFLAGS = $(COMMON_C_CPP_FLAGS) -Wmissing-prototypes -std=c99
+
+CXXFLAGS = $(COMMON_C_CPP_FLAGS)
+
# Omitting glw here:
# Omitting glw here:
-SRC_DIRS = glsl mesa gallium gallium/winsys glu glut/glx glew
+SRC_DIRS = glsl mesa gallium gallium/winsys g
allium/targets g
lu glut/glx glew
# Build no traditional Mesa drivers:
DRIVER_DIRS =
# Build no traditional Mesa drivers:
DRIVER_DIRS =