From: Brian Paul Date: Tue, 26 Aug 2008 20:09:28 +0000 (-0600) Subject: cell: use SDK 3.0 by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5ab3b7dfc42a568a156dec2fa043292014f98a7;p=mesa.git cell: use SDK 3.0 by default --- 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