mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
mesa: build/use libmesagallium.a for gallium builds
This contains the core mesa code but excludes things not needed for gallium such as tnl/, swrast/, swrast_setup/, etc.
This commit is contained in:
parent
abbe96cb6e
commit
2438161823
4 changed files with 6 additions and 5 deletions
|
|
@ -1,9 +1,9 @@
|
|||
# -*-makefile-*-
|
||||
|
||||
MESA_MODULES = \
|
||||
$(TOP)/src/mesa/libmesa.a \
|
||||
$(TOP)/src/mesa/libmesagallium.a \
|
||||
$(GALLIUM_AUXILIARIES)
|
||||
|
||||
|
||||
COMMON_GALLIUM_SOURCES = \
|
||||
$(TOP)/src/mesa/drivers/dri/common/utils.c \
|
||||
$(TOP)/src/mesa/drivers/dri/common/vblank.c \
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ LIBS = \
|
|||
# mesa code, as done for ES 1.x, 2.x, OpenVG, etc)
|
||||
UNUSED_LIBS = \
|
||||
$(TOP)/src/mesa/libglapi.a \
|
||||
$(TOP)/src/mesa/libmesa.a \
|
||||
$(TOP)/src/mesa/libmesagallium.a \
|
||||
|
||||
|
||||
LOCAL_CFLAGS = -D_EGL_PLATFORM_X=1
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ LIBS = \
|
|||
$(GALLIUM_DRIVERS) \
|
||||
$(TOP)/src/gallium/state_trackers/glx/xlib/libxlib.a \
|
||||
$(TOP)/src/mesa/libglapi.a \
|
||||
$(TOP)/src/mesa/libmesa.a \
|
||||
$(TOP)/src/mesa/libmesagallium.a \
|
||||
$(GALLIUM_AUXILIARIES) \
|
||||
$(CELL_SPU_LIB) \
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@ include sources.mak
|
|||
|
||||
# Default: build dependencies, then asm_subdirs, then convenience
|
||||
# libs (.a) and finally the device drivers:
|
||||
default: depend asm_subdirs libmesa.a libglapi.a driver_subdirs
|
||||
default: depend asm_subdirs libmesa.a libmesagallium.a libglapi.a \
|
||||
driver_subdirs
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue