From b5ab3b7dfc42a568a156dec2fa043292014f98a7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 26 Aug 2008 14:09:28 -0600 Subject: cell: use SDK 3.0 by default --- configs/linux-cell | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/linux-cell b/configs/linux-cell index a701fa73f19..1f02e80edb6 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 -- cgit v1.2.3