mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 17:40:25 +01:00
Cell: added linux-cell-debug config
linux-cell is now the optimized configuration. Remove some Cell-specific stuff from winsys/xlib/Makefile.
This commit is contained in:
parent
01a76f4fee
commit
ab93aa774e
4 changed files with 16 additions and 6 deletions
1
Makefile
1
Makefile
|
|
@ -101,6 +101,7 @@ linux \
|
|||
linux-alpha \
|
||||
linux-alpha-static \
|
||||
linux-cell \
|
||||
linux-cell-debug \
|
||||
linux-debug \
|
||||
linux-directfb \
|
||||
linux-dri \
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# linux-cell
|
||||
# linux-cell (non-debug build)
|
||||
|
||||
include $(TOP)/configs/default
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ CC = ppu32-gcc
|
|||
CXX = ppu32-g++
|
||||
HOST_CC = gcc
|
||||
|
||||
OPT_FLAGS = -g
|
||||
OPT_FLAGS = -O3
|
||||
|
||||
# Cell SDK location
|
||||
## For SDK 2.1: (plus, remove -DSPU_MAIN_PARAM_LONG_LONG below)
|
||||
|
|
@ -39,6 +39,8 @@ GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \
|
|||
-L$(SDK)/lib -m32 -Wl,-m,elf32ppc -R$(SDK)/lib -lspe2
|
||||
|
||||
|
||||
CELL_SPU_LIB = $(TOP)/src/gallium/drivers/cell/spu/g3d_spu.a
|
||||
|
||||
|
||||
### SPU stuff
|
||||
|
||||
|
|
|
|||
10
configs/linux-cell-debug
Normal file
10
configs/linux-cell-debug
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# linux-cell-debug
|
||||
|
||||
include $(TOP)/configs/linux-cell
|
||||
|
||||
# just override name and OPT_FLAGS here:
|
||||
|
||||
CONFIG_NAME = linux-cell-debug
|
||||
|
||||
OPT_FLAGS = -g
|
||||
|
||||
|
|
@ -33,10 +33,7 @@ XLIB_WINSYS_SOURCES = \
|
|||
XLIB_WINSYS_OBJECTS = $(XLIB_WINSYS_SOURCES:.c=.o)
|
||||
|
||||
|
||||
ifeq ($(CONFIG_NAME), linux-cell)
|
||||
# The SPU code is in a separate .a file, unfortunately
|
||||
CELL_SPU_LIB = $(TOP)/src/gallium/drivers/cell/spu/g3d_spu.a
|
||||
endif
|
||||
# Note: CELL_SPU_LIB is only defined for cell configs
|
||||
|
||||
LIBS = \
|
||||
$(GALLIUM_DRIVERS) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue