cell: use SDK 3.0 by default
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 26 Aug 2008 20:09:28 +0000 (14:09 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 26 Aug 2008 20:10:29 +0000 (14:10 -0600)
configs/linux-cell

index a701fa73f19c97e911027d0212252160feb5bc6e..1f02e80edb646f0d93278692e1c774b6915472dd 100644 (file)
@@ -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