mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
python: More build fixes.
This commit is contained in:
parent
fc08d13fdc
commit
7b8641bbba
4 changed files with 10 additions and 5 deletions
|
|
@ -7,6 +7,9 @@ SConscript('auxiliary/SConscript')
|
|||
for driver in env['drivers']:
|
||||
SConscript(os.path.join('drivers', driver, 'SConscript'))
|
||||
|
||||
# Needed by some state trackers
|
||||
SConscript('winsys/null/SConscript')
|
||||
|
||||
SConscript('state_trackers/python/SConscript')
|
||||
if platform != 'embedded':
|
||||
SConscript('state_trackers/glx/xlib/SConscript')
|
||||
|
|
|
|||
|
|
@ -38,8 +38,9 @@ if 'python' in env['statetrackers']:
|
|||
]
|
||||
|
||||
env.Prepend(LIBS = [
|
||||
ws_null,
|
||||
trace,
|
||||
gallium
|
||||
gallium,
|
||||
])
|
||||
|
||||
if 'llvmpipe' in env['drivers']:
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
#include "util/u_math.h"
|
||||
#include "util/u_memory.h"
|
||||
#include "util/u_simple_shaders.h"
|
||||
#include "trace/tr_public.h"
|
||||
|
||||
#include "st_device.h"
|
||||
#include "st_winsys.h"
|
||||
|
|
@ -84,6 +85,10 @@ st_device_create(boolean hardware)
|
|||
else
|
||||
screen = st_software_screen_create();
|
||||
|
||||
screen = trace_screen_create(screen);
|
||||
if (!screen)
|
||||
goto no_screen;
|
||||
|
||||
st_dev = CALLOC_STRUCT(st_device);
|
||||
if (!st_dev)
|
||||
goto no_device;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
Import('*')
|
||||
|
||||
SConscript([
|
||||
'null/SConscript',
|
||||
])
|
||||
|
||||
if env['dri']:
|
||||
SConscript([
|
||||
'drm/SConscript',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue