summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-08-26 14:09:28 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-08-26 14:10:29 -0600
commitb5ab3b7dfc42a568a156dec2fa043292014f98a7 (patch)
tree755eaf1ae1c152283766696aa843ee2a76c9c746 /configs
parente6887a5752774c18cf527477fdd3e57e4893ff3b (diff)
cell: use SDK 3.0 by default
Diffstat (limited to 'configs')
-rw-r--r--configs/linux-cell6
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/linux-cell b/configs/linux-cell
index a701fa73f1..1f02e80edb 100644
--- a/configs/linux-cell
+++ b/configs/linux-cell
@@ -16,7 +16,10 @@ HOST_CC = gcc
OPT_FLAGS = -g
# Cell SDK location
-SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr
+## For SDK 2.1: (plus, remove -DSPU_MAIN_PARAM_LONG_LONG below)
+#SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr
+## For SDK 3.0:
+SDK = /opt/cell/sdk/usr/
CFLAGS = $(OPT_FLAGS) -Wall -Winline -fPIC -m32 -mabi=altivec -maltivec \
@@ -43,6 +46,7 @@ SPU_CC = spu-gcc
SPU_CFLAGS = $(OPT_FLAGS) -W -Wall -Winline -Wmissing-prototypes -Wno-main \
-I. -I$(SDK)/spu/include -I$(TOP)/src/mesa/ $(INCLUDE_DIRS) \
+ -DSPU_MAIN_PARAM_LONG_LONG \
-include spu_intrinsics.h
SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc