gallium-intel: Build with scons
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
Import('*')
|
||||
|
||||
SConscript(['gem/SConscript',])
|
||||
|
||||
if 'mesa' in env['statetrackers']:
|
||||
|
||||
SConscript(['dri/SConscript'])
|
||||
@@ -0,0 +1,15 @@
|
||||
Import('*')
|
||||
|
||||
env = drienv.Clone()
|
||||
|
||||
drivers = [
|
||||
softpipe,
|
||||
i915simple,
|
||||
inteldrm
|
||||
]
|
||||
|
||||
env.SharedLibrary(
|
||||
target ='i915_dri.so',
|
||||
source = COMMON_GALLIUM_SOURCES,
|
||||
LIBS = drivers + mesa + auxiliaries + env['LIBS'],
|
||||
)
|
||||
@@ -0,0 +1,17 @@
|
||||
Import('*')
|
||||
|
||||
env = drienv.Clone()
|
||||
|
||||
inteldrm_sources = [
|
||||
'intel_be_api.c',
|
||||
'intel_be_batchbuffer.c',
|
||||
'intel_be_context.c',
|
||||
'intel_be_device.c',
|
||||
]
|
||||
|
||||
inteldrm = env.ConvenienceLibrary(
|
||||
target ='inteldrm',
|
||||
source = inteldrm_sources,
|
||||
)
|
||||
|
||||
Export('inteldrm')
|
||||
Reference in New Issue
Block a user