diff options
author | Brian <[email protected]> | 2007-12-02 15:23:51 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-12-02 15:23:51 -0700 |
commit | 88b715b049efa81f4021d642a963b58113a875cf (patch) | |
tree | ace902bbc0480836b8d1e17cfb37528c5715db0f /configs | |
parent | 233c374d02a99ecd0c2ddc6f11f305ae8783fc97 (diff) |
Initial Cell driver infrastructure.
No real code yet. Just stand-ins and make/build infrastructure.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/linux-cell | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/configs/linux-cell b/configs/linux-cell new file mode 100644 index 00000000000..8bedca92467 --- /dev/null +++ b/configs/linux-cell @@ -0,0 +1,37 @@ +# linux-cell + +include $(TOP)/configs/default + +CONFIG_NAME = linux-cell + + +# Compiler and flags +CC = /usr/bin/ppu32-gcc +CXX = /usr/bin/ppu32-g++ + +# Cell SDK location +SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr + + +CFLAGS = -g -W -Wall -Winline -m32 -mabi=altivec -maltivec -I. -I/usr/include -I$(SDK)/include -include altivec.h + +CXXFLAGS = $(CFLAGS) + +GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \ + -L$(SDK)/lib -m32 -Wl,-m,elf32ppc -R$(SDK)/lib -lspe + + + +### SPU stuff + +SPU_CC = /usr/bin/spu-gcc + +SPU_CFLAGS = -g -W -Wall -Winline -Wno-main -I. -I $(SDK)/spu/include -include spu_intrinsics.h -I $(TOP)/src/mesa/ + +SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc + +SPU_AR = /usr/bin/ar +SPU_AR_FLAGS = -qcs + +SPU_EMBED = /usr/bin/embedspu +SPU_EMBED_FLAGS = -m32 |